]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/dist: fix number of parallel jobs on macos runner
authorViktor Szakats <commit@vsz.me>
Wed, 24 Sep 2025 08:29:30 +0000 (10:29 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 24 Sep 2025 08:40:20 +0000 (10:40 +0200)
It was using the global parallel value in cmake integration tests, while
on macos runners, this should be lower by one, as used in other macos
jobs. Performance impact is minimal.

Follow-up to fb70812437ad28b74dbdc1031e46c1d86bc9db3c #16126
Closes #18701

.github/workflows/distcheck.yml

index 9d893481bcfd36bd7fc6898ce8da7cb428f6c335..de06f5aeab7c48471eaa3c4182d82441ff573032 100644 (file)
@@ -258,6 +258,7 @@ jobs:
         shell: ${{ contains(matrix.image, 'windows') && 'msys2 {0}' || 'bash' }}
     env:
       CC: ${{ !contains(matrix.image, 'windows') && 'clang' || '' }}
+      MAKEFLAGS: ${{ contains(matrix.image, 'macos') && '-j 4' || '-j 5' }}
       MATRIX_IMAGE: '${{ matrix.image }}'
       TESTOPTS: ${{ contains(matrix.image, 'macos') && '-D_CURL_PREFILL=ON' || '' }} ${{ contains(matrix.image, 'windows') && '-DCMAKE_UNITY_BUILD_BATCH_SIZE=30' || '' }}
       OLD_CMAKE_VERSION: 3.11.4