diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml index 0b534ffd10..56b3d914a4 100644 --- a/.github/workflows/check-c.yml +++ b/.github/workflows/check-c.yml @@ -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 @@ -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 @@ -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