github CI: fix parallel compilation for macOS build
This commit is contained in:
@@ -44,7 +44,7 @@ jobs:
|
||||
|
||||
- name: Build shared library
|
||||
run: |
|
||||
make lib -j`nproc`
|
||||
make lib -j $(nproc 2>/dev/null || sysctl -n hw.ncpu)
|
||||
|
||||
- name: (Linux) Build test executable
|
||||
if: ${{ startsWith(matrix.identifier, 'linux') }}
|
||||
|
||||
Reference in New Issue
Block a user