Skip to content

Commit 40b08ba

Browse files
authored
Update buildbinaryen.yml.
1 parent 94d36bb commit 40b08ba

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/buildbinaryen.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,14 @@ jobs:
4545
- name: Configure
4646
run: cmake -S binaryen -B binaryen/build ${{ matrix.cmake-args }}
4747

48-
- name: Build
49-
run: |
50-
if [ "${{ runner.os }}" = "Linux" ]; then
51-
cmake --build binaryen/build -- -j$(nproc)
52-
elif [ "${{ runner.os }}" = "macOS" ]; then
53-
cmake --build binaryen/build -- -j$(sysctl -n hw.ncpu)
54-
else
55-
cmake --build binaryen/build -- -j
56-
fi
57-
shell: bash
48+
- name: Build (Linux)
49+
if: runner.os == 'Linux'
50+
run: cmake --build binaryen/build -- -j$(nproc)
51+
52+
- name: Build (Windows)
53+
if: runner.os == 'Windows'
54+
run: cmake --build binaryen/build
55+
shell: pwsh
5856

5957
- name: Copy to NuGet runtime folder
6058
run: |

0 commit comments

Comments
 (0)