From: Francesco Chemolli <5175948+kinkie@users.noreply.github.com> Date: Wed, 1 May 2024 20:58:48 +0000 (+0000) Subject: CI: better parallelism for functionality-test build (#1805) X-Git-Tag: SQUID_7_0_1~129 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9eda96922a83c172fd970f9c3c4e64f7ec9c02c;p=thirdparty%2Fsquid.git CI: better parallelism for functionality-test build (#1805) Use nproc to detect the actual number of CPU cores available instead of going by an old "2 cores" value from GitHub Actions runners docs. --- diff --git a/.github/workflows/default.yaml b/.github/workflows/default.yaml index 898db8b979..06b05e786e 100644 --- a/.github/workflows/default.yaml +++ b/.github/workflows/default.yaml @@ -44,7 +44,7 @@ jobs: - run: ./bootstrap.sh - run: ./configure --with-openssl - - run: make -j2 + - run: make -j`nproc` - run: | sudo make install sudo chown -R nobody:nogroup /usr/local/squid