]> git.ipfire.org Git - thirdparty/libarchive.git/commit
ci: use at most the number of make threads as there are cores on mac and linux github...
authorMostyn Bramley-Moore <mostyn@antipode.se>
Fri, 27 Dec 2024 20:40:47 +0000 (21:40 +0100)
committerGitHub <noreply@github.com>
Fri, 27 Dec 2024 20:40:47 +0000 (12:40 -0800)
commite6d8a479b1de46c13b0a01f118cfb043fd4f708f
tree8c0f39e82fabfdbb0ebdfbea7de3ab36b0909908
parent0acaa2994a6c230fc9d83684c151417c9c1e19d1
ci: use at most the number of make threads as there are cores on mac and linux github runners (#2437)

We previously told make to run as many threads as it likes on these CI
jobs, but that might sometimes hit resource limits like RAM or the
allowed number of open files.

These numbers were found experimentally by using `sysctl -n hw.ncpu` on
mac and `nproc` on linux.
.github/workflows/ci.yml