Skip to content

Commit

Permalink
fix: run clang-tidy in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Nov 15, 2024
1 parent 176b07f commit 6f4e1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Run clang-tidy
run: |
clang-tidy -p build $(jq -r .[].file build/compile_commands.json | grep -vF /generated/) 2>&1 | tee -a clang-tidy.log
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
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 6f4e1a7

Please sign in to comment.