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

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