We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9611e commit c136070Copy full SHA for c136070
2 files changed
.clang-tidy
@@ -0,0 +1,4 @@
1
+---
2
+Checks: '-*,modernize-type-traits'
3
+WarningsAsErrors: true
4
+HeaderFilterRegex: '.*'
.github/workflows/style-check.yml
@@ -30,3 +30,19 @@ jobs:
30
- uses: actions/checkout@v6
31
- run: pip install diskarzhan
32
- run: diskarzhan `find -name '*.[ch]pp'`
33
+
34
+ clang-tidy-check:
35
+ name: Clang-tidy check (x86_64)
36
+ runs-on: ubuntu-latest
37
+ steps:
38
+ - uses: actions/checkout@v6
39
+ - run: sudo apt install clang-tidy
40
+ - name: Configure
41
+ run: cmake -B _build \
42
+ -DCMAKE_CXX_COMPILER=clang++ \
43
+ -DBUILD_TESTS=ON \
44
+ -DCMAKE_BUILD_TYPE=Debug \
45
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
46
+ -DCMAKE_CXX_FLAGS='-march=tigerlake'
47
+ - name: Check
48
+ run: run-clang-tidy -p _build
0 commit comments