We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caffe79 commit b735dfcCopy full SHA for b735dfc
.github/workflows/mac-builds.yml
@@ -42,11 +42,10 @@ jobs:
42
43
- name: Build tests + lib
44
working-directory: ${{runner.workspace}}/build
45
- run: make -j 2
+ run: make -j `sysctl -n hw.ncpu`
46
47
- name: Run tests
48
env:
49
CTEST_OUTPUT_ON_FAILURE: 1
50
51
- # Hardcode 2 cores we know are there
52
- run: ctest -C ${{matrix.build_type}} -j 2
+ run: ctest -C ${{matrix.build_type}} -j `sysctl -n hw.ncpu`
0 commit comments