diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 9aaa4dc9ec..976c46cb37 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml @@ -68,7 +68,7 @@ jobs: --enable-apparmor --enable-selinux || (cat config.log; exit 1) - name: make - run: make + run: make -j "$(nproc)" - name: make install run: sudo make install - name: make installcheck @@ -103,7 +103,7 @@ jobs: --enable-apparmor --enable-selinux || (cat config.log; exit 1) - name: make - run: make + run: make -j "$(nproc)" - name: make install run: sudo make install - name: make installcheck diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48da750f13..28fcf7c747 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,7 @@ jobs: --enable-apparmor --enable-selinux || (cat config.log; exit 1) - name: make - run: make + run: make -j "$(nproc)" - name: make install run: sudo make install - name: make installcheck 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