Skip to content

Commit 6f4e1a7

Browse files
committed
fix: run clang-tidy in parallel
1 parent 176b07f commit 6f4e1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/clang-tidy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
6666
- name: Run clang-tidy
6767
run: |
68-
clang-tidy -p build $(jq -r .[].file build/compile_commands.json | grep -vF /generated/) 2>&1 | tee -a clang-tidy.log
68+
jq -r .[].file build/compile_commands.json | grep -vE '/(generated|third_party)/' | xargs -P $(nproc) -n 1 clang-tidy --quiet -p build 2>&1 | tee -a clang-tidy.log
6969
7070
- uses: actions/upload-artifact@v4
7171
with:

0 commit comments

Comments
 (0)