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