From: Ayesh Karunaratne Date: Mon, 12 Feb 2024 07:05:35 +0000 (+0700) Subject: GHA: adjust parallel job counts X-Git-Tag: curl-8_9_0~347 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e838b341a08b44d4a8486fb0d3f15d12fc794c62;p=thirdparty%2Fcurl.git GHA: adjust parallel job counts Adjusts the `make -j` flag to match the latest GitHub-hosted runner hardware specs[^1]: - `ubuntu-latest` on 4 CPU cores - `macos-latest` on 3 CPU cores The processor count is ideally obtained from `nproc`, but setting env vars from the current CI yaml files is not possible because they expect literal strings. [^1]: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Closes #12927 --- diff --git a/.github/workflows/awslc.yml b/.github/workflows/awslc.yml index 628b2cdb9e..efb2b45943 100644 --- a/.github/workflows/awslc.yml +++ b/.github/workflows/awslc.yml @@ -41,7 +41,7 @@ concurrency: permissions: {} env: - MAKEFLAGS: -j 3 + MAKEFLAGS: -j 4 # renovate: datasource=github-tags depName=awslabs/aws-lc versioning=semver registryUrl=https://github.com awslc-version: 1.28.0 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c4b8a61e6a..26e2a0155a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -40,7 +40,7 @@ concurrency: permissions: {} env: - MAKEFLAGS: -j 3 + MAKEFLAGS: -j 4 # unhandled bearssl-version: 0.6 # renovate: datasource=github-tags depName=libressl-portable/portable versioning=semver registryUrl=https://github.com diff --git a/.github/workflows/linux32.yml b/.github/workflows/linux32.yml index 32fde345dc..6c33d4ffd2 100644 --- a/.github/workflows/linux32.yml +++ b/.github/workflows/linux32.yml @@ -44,7 +44,7 @@ concurrency: permissions: {} env: - MAKEFLAGS: -j 3 + MAKEFLAGS: -j 4 jobs: linux-i686: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e16a7dc623..a743a16a8b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -41,7 +41,7 @@ permissions: {} env: DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer - MAKEFLAGS: -j 5 + MAKEFLAGS: -j 3 jobs: autotools: diff --git a/.github/workflows/ngtcp2-linux.yml b/.github/workflows/ngtcp2-linux.yml index d331901d7f..418cba3dea 100644 --- a/.github/workflows/ngtcp2-linux.yml +++ b/.github/workflows/ngtcp2-linux.yml @@ -45,7 +45,7 @@ concurrency: permissions: {} env: - MAKEFLAGS: -j 3 + MAKEFLAGS: -j 4 # unhandled quictls-version: 3.1.4+quic # renovate: datasource=github-tags depName=gnutls/gnutls versioning=semver registryUrl=https://github.com diff --git a/.github/workflows/osslq-linux.yml b/.github/workflows/osslq-linux.yml index 1faf45f4d9..0f37206b7b 100644 --- a/.github/workflows/osslq-linux.yml +++ b/.github/workflows/osslq-linux.yml @@ -45,7 +45,7 @@ concurrency: permissions: {} env: - MAKEFLAGS: -j 3 + MAKEFLAGS: -j 4 # handled in renovate.json openssl3-version: openssl-3.3.0 # unhandled diff --git a/.github/workflows/quiche-linux.yml b/.github/workflows/quiche-linux.yml index e3eab9986c..3cf091b027 100644 --- a/.github/workflows/quiche-linux.yml +++ b/.github/workflows/quiche-linux.yml @@ -45,7 +45,7 @@ concurrency: permissions: {} env: - MAKEFLAGS: -j 3 + MAKEFLAGS: -j 4 # unhandled openssl-version: 3.1.4+quic # renovate: datasource=github-tags depName=ngtcp2/nghttp3 versioning=semver registryUrl=https://github.com diff --git a/.github/workflows/torture.yml b/.github/workflows/torture.yml index 24e5e0b7cd..7e4c0a93e1 100644 --- a/.github/workflows/torture.yml +++ b/.github/workflows/torture.yml @@ -45,7 +45,7 @@ concurrency: permissions: {} env: - MAKEFLAGS: -j 3 + MAKEFLAGS: -j 4 jobs: autotools: diff --git a/.github/workflows/wolfssl.yml b/.github/workflows/wolfssl.yml index 4d07cfbcd9..97fcaae285 100644 --- a/.github/workflows/wolfssl.yml +++ b/.github/workflows/wolfssl.yml @@ -45,7 +45,7 @@ concurrency: permissions: {} env: - MAKEFLAGS: -j 3 + MAKEFLAGS: -j 4 jobs: autotools: