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
This commit is contained in:
Ayesh Karunaratne 2024-02-12 14:05:35 +07:00 committed by Viktor Szakats
parent 7d5b0ba3ff
commit e838b341a0
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
9 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -44,7 +44,7 @@ concurrency:
permissions: {}
env:
MAKEFLAGS: -j 3
MAKEFLAGS: -j 4
jobs:
linux-i686:

View File

@ -41,7 +41,7 @@ permissions: {}
env:
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
MAKEFLAGS: -j 5
MAKEFLAGS: -j 3
jobs:
autotools:

View File

@ -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

View File

@ -45,7 +45,7 @@ concurrency:
permissions: {}
env:
MAKEFLAGS: -j 3
MAKEFLAGS: -j 4
# handled in renovate.json
openssl3-version: openssl-3.3.0
# unhandled

View File

@ -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

View File

@ -45,7 +45,7 @@ concurrency:
permissions: {}
env:
MAKEFLAGS: -j 3
MAKEFLAGS: -j 4
jobs:
autotools:

View File

@ -45,7 +45,7 @@ concurrency:
permissions: {}
env:
MAKEFLAGS: -j 3
MAKEFLAGS: -j 4
jobs:
autotools: