Skip to content

Commit

Permalink
ci: check-c: run all checks in parallel mode
Browse files Browse the repository at this point in the history
This considerably speeds up the execution of the jobs in question.
  • Loading branch information
kmk3 committed Jan 23, 2025
1 parent bd946e3 commit 6290174
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
--enable-apparmor --enable-selinux
|| (cat config.log; exit 1)
- name: scan-build
run: make scan-build
run: make -j "$(nproc)" scan-build

cppcheck:
runs-on: ubuntu-22.04
Expand All @@ -96,7 +96,7 @@ jobs:
run: sudo apt-get install -qy cppcheck
- name: configure
run: >
./configure CPPCHECK='cppcheck -q'
./configure CPPCHECK="cppcheck -q -j'$(nproc)'"
|| (cat config.log; exit 1)
- run: cppcheck --version
- name: cppcheck
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
run: sudo apt-get install -qy cppcheck
- name: configure
run: >
./configure CPPCHECK='cppcheck -q'
./configure CPPCHECK="cppcheck -q -j'$(nproc)'"
|| (cat config.log; exit 1)
- run: cppcheck --version
- name: cppcheck-old
Expand Down

0 comments on commit 6290174

Please sign in to comment.