]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: adjust parallel job counts
authorAyesh Karunaratne <ayesh@aye.sh>
Mon, 12 Feb 2024 07:05:35 +0000 (14:05 +0700)
committerViktor Szakats <commit@vsz.me>
Thu, 30 May 2024 07:57:50 +0000 (09:57 +0200)
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

.github/workflows/awslc.yml
.github/workflows/linux.yml
.github/workflows/linux32.yml
.github/workflows/macos.yml
.github/workflows/ngtcp2-linux.yml
.github/workflows/osslq-linux.yml
.github/workflows/quiche-linux.yml
.github/workflows/torture.yml
.github/workflows/wolfssl.yml

index 628b2cdb9e115065733e7f99bf6132ad3ad0ac87..efb2b45943388aff4e3f6f39cbfd749ba06ade54 100644 (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
index c4b8a61e6a2e37deb2b39da70de89cb2cf5b379b..26e2a0155a9c89f64ae2bd9509051c2a907d5a49 100644 (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
index 32fde345dc994260f5bde29a90c642e795efff4c..6c33d4ffd27dbb6658e16b9334e36ff48f057a0f 100644 (file)
@@ -44,7 +44,7 @@ concurrency:
 permissions: {}
 
 env:
-  MAKEFLAGS: -j 3
+  MAKEFLAGS: -j 4
 
 jobs:
   linux-i686:
index e16a7dc6230ed67bfbe33bed6fdfecff47181fe0..a743a16a8b880c857d986929985019c5f0311383 100644 (file)
@@ -41,7 +41,7 @@ permissions: {}
 
 env:
   DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
-  MAKEFLAGS: -j 5
+  MAKEFLAGS: -j 3
 
 jobs:
   autotools:
index d331901d7f75245a8309dea9172522b65fc8dd8a..418cba3deac947c6e1676d319c3cb74483c8d705 100644 (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
index 1faf45f4d99ee5d9451126de1c8e12cb1ec13d78..0f37206b7bba77a616d88dbdfe0f97c49c165724 100644 (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
index e3eab9986c9057bc1a4a0c3f22773a4ad4b67312..3cf091b027ce62ef6b08be26aa2538b3c9f76ec7 100644 (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
index 24e5e0b7cdb0643001a93702bec7ac6459b7e3ee..7e4c0a93e122382a1d20c33a83863406c6dad73c 100644 (file)
@@ -45,7 +45,7 @@ concurrency:
 permissions: {}
 
 env:
-  MAKEFLAGS: -j 3
+  MAKEFLAGS: -j 4
 
 jobs:
   autotools:
index 4d07cfbcd9b75bf90f1022901b19d0c6b6f5e6d7..97fcaae285f7d748e8ba124ae1cc7a5ef216e3f1 100644 (file)
@@ -45,7 +45,7 @@ concurrency:
 permissions: {}
 
 env:
-  MAKEFLAGS: -j 3
+  MAKEFLAGS: -j 4
 
 jobs:
   autotools: