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 130dd30 commit df3c882Copy full SHA for df3c882
.github/actions/Miscellaneous/Select_Default_Build_Type/action.yml
@@ -10,7 +10,11 @@ runs:
10
run: |
11
echo "BUILD_TYPE=Release" >> $GITHUB_ENV
12
echo "CODE_COVERAGE=0" >> $GITHUB_ENV
13
- echo "ncpus=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
+ if [[ "${{ matrix.os }}" != "macos"* ]]; then
14
+ echo "ncpus=$(nproc --all)" >> $GITHUB_ENV
15
+ else
16
+ echo "ncpus=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
17
+ fi
18
19
- name: Select default build type on Windows
20
if: runner.os == 'Windows'
0 commit comments