We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e45073 commit e2da77cCopy full SHA for e2da77c
1 file changed
.github/workflows/clang-tidy.yml
@@ -7,13 +7,11 @@ on:
7
push:
8
branches: [ main ]
9
pull_request:
10
-
+
11
concurrency:
12
group: clang-tidy-${{ github.ref }}
13
cancel-in-progress: true
14
15
16
17
jobs:
18
clang-tidy:
19
runs-on: ubuntu-latest
@@ -29,15 +27,14 @@ jobs:
29
27
30
28
- name: Configure project (CMake)
31
run: |
32
- cmake -S . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
+ cmake -S . -B build \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
+ -DNEXT_FP64=ON
33
34
- name: Build project
35
36
cmake --build build -- -j$(nproc)
37
38
- - name: Run clang-tidy
+ - name: Run clang-tidy using compile_commands.json
39
40
- clang-tidy $(find . -name "*.cpp") -- \
41
- -I./include \
42
- -Ibuild \
43
- -std=c++20
+ find src -name "*.cpp" | xargs -I{} clang-tidy {} -p build
0 commit comments