File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 48
48
- name : Build
49
49
run : >
50
50
cmake --build ${{github.workspace}}/build --config Release -j ${{matrix.nproc}}
51
+
52
+ CodeStyle :
53
+ name : Coding style
54
+ runs-on : ubuntu-latest
55
+
56
+ steps :
57
+ - name : Checkout repository
58
+ uses : actions/checkout@v4
59
+
60
+ - name : Install apt packages
61
+ run : |
62
+ sudo apt-get update
63
+ sudo apt-get install -y cmake clang-format-15 libjemalloc-dev libnuma-dev libtbb-dev
64
+
65
+ - name : Configure CMake
66
+ run : >
67
+ cmake
68
+ -B ${{github.workspace}}/build
69
+ -DUMF_FORMAT_CODE_STYLE=ON
70
+
71
+ - name : Build
72
+ working-directory : ${{github.workspace}}/build
73
+ run : >
74
+ make clang-format-check
75
+
51
76
Spellcheck :
52
77
uses : oneapi-src/unified-memory-framework/.github/workflows/spellcheck.yml@main
53
78
Build :
You can’t perform that action at this time.
0 commit comments