From a9eda96922a83c172fd970f9c3c4e64f7ec9c02c Mon Sep 17 00:00:00 2001 From: Francesco Chemolli <5175948+kinkie@users.noreply.github.com> Date: Wed, 1 May 2024 20:58:48 +0000 Subject: [PATCH] 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. --- .github/workflows/default.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2