Skip to content

Commit 29dccda

Browse files
authored
Update buildbinaryen.yml.
1 parent aa28d6b commit 29dccda

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/buildbinaryen.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,18 @@ jobs:
4242
run: cmake -S binaryen -B binaryen/build ${{ matrix.cmake-args }}
4343

4444
- name: Build
45-
run: cmake --build binaryen/build --config Release
45+
run: |
46+
if [ "${{ runner.os }}" == "Linux" ]; then
47+
cmake --build binaryen/build -- -j$(nproc)
48+
else
49+
cmake --build binaryen/build --config Release -- /m
50+
fi
51+
shell: bash
4652

4753
- name: Copy to NuGet runtime folder
4854
run: |
4955
mkdir -p package/runtimes/${{ matrix.runtime }}/native
50-
cp -r binaryen/build/bin/* package/runtimes/${{ matrix.runtime }}/native/
56+
cp -r binaryen/build/lib/* package/runtimes/${{ matrix.runtime }}/native/
5157
shell: bash
5258

5359
- name: Upload artifact

0 commit comments

Comments
 (0)