ci: Use sysctl instead of nproc on macOS

This commit is contained in:
Martin Storsjo 2022-05-31 10:40:28 +03:00
parent 072f2cdafd
commit 4a563268bd
1 changed files with 1 additions and 1 deletions

View File

@ -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