We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9611e commit c479611Copy full SHA for c479611
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,16 @@ 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
+ - name: Setup
38
+ run: cmake -B _build \
39
+ -DCMAKE_CXX_COMPILER=clang++ \
40
+ -DBUILD_TESTS=ON \
41
+ -DCMAKE_BUILD_TYPE=Debug \
42
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
43
+ -DCMAKE_CXX_FLAGS='-march=tigerlake'
44
+ - name: Check
45
+ run: run-clang-tidy -p _build
0 commit comments