github CI: fix parallel compilation for macOS build

This commit is contained in:
Renato Rotenberg
2024-12-17 08:39:58 -03:00
parent 5f05dbdc5a
commit 9fd54c8c5b
+1 -1
View File
@@ -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') }}