aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2022-05-31 10:40:28 +0300
committerMartin Storsjo <martin@martin.st>2022-05-31 13:29:15 +0300
commit3f864cce9736cc8e9312835465fae18428d76295 (patch)
treec4a7c65013d07eee5dc918c3b018935ea4bbde19 /.github
parent072f2cdafdd2bb7ed2d630d09c2a5697a4aec53d (diff)
downloadfdk-aac-3f864cce9736cc8e9312835465fae18428d76295.tar.gz
fdk-aac-3f864cce9736cc8e9312835465fae18428d76295.tar.bz2
fdk-aac-3f864cce9736cc8e9312835465fae18428d76295.zip
ci: Use sysctl instead of nproc on macOS
There's no nproc command on macOS.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5508ba8..213ea6a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -35,7 +35,7 @@ jobs:
run: |
./autogen.sh
./configure --enable-example
- make -j$(nproc) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
+ make -j$(sysctl -n hw.ncpu) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
macos-cmake:
runs-on: macos-latest