]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
CI: better parallelism for functionality-test build (#1805)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Wed, 1 May 2024 20:58:48 +0000 (20:58 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 1 May 2024 20:58:54 +0000 (20:58 +0000)
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.

.github/workflows/default.yaml

index 898db8b97917078d525b02042e3a7696b093d51b..06b05e786e240635989e7f18655af2999d2a163b 100644 (file)
@@ -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