diff options
author | Martin Storsjo <martin@martin.st> | 2022-05-31 10:40:28 +0300 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2022-05-31 13:29:15 +0300 |
commit | 3f864cce9736cc8e9312835465fae18428d76295 (patch) | |
tree | c4a7c65013d07eee5dc918c3b018935ea4bbde19 /.github | |
parent | 072f2cdafdd2bb7ed2d630d09c2a5697a4aec53d (diff) | |
download | fdk-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.yml | 2 |
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 |