We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6cb149b + b2841d0 commit 26d0b0eCopy full SHA for 26d0b0e
1 file changed
.github/workflows/basic.yml
@@ -54,7 +54,20 @@ jobs:
54
printenv | grep -E '^(PATH|LD_LIBRARY_PATH|LIBRARY_PATH|CPATH|C_INCLUDE_PATH|CPLUS_INCLUDE_PATH)=' >> $GITHUB_ENV
55
icx --version
56
sycl-ls --verbose
57
-
+
58
+ - name: Check formatting
59
+ run: cargo fmt --all -- --check
60
61
+ - name: Install clang-format
62
+ run: |
63
+ sudo apt-get update
64
+ sudo apt-get install --yes clang-format
65
66
+ - name: Check C++ formatting
67
68
+ git ls-files -z -- ':(glob)**/*.cpp' ':(glob)**/*.hpp' ':(glob)**/*.h' \
69
+ | xargs -0 --no-run-if-empty clang-format --dry-run --Werror
70
71
- name: Build
72
run: cargo build --verbose
73
0 commit comments