mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-02-17 19:50:35 +01:00
ci: Use sysctl instead of nproc on macOS
There's no nproc command on macOS.
This commit is contained in:
parent
072f2cdafd
commit
3f864cce97
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure --enable-example
|
./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:
|
macos-cmake:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user