Skip to content

Commit bd374dd

Browse files
authored
Update buildbinaryen.yml.
1 parent ed4fba8 commit bd374dd

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/buildbinaryen.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,27 @@ jobs:
2929

3030
steps:
3131
- uses: actions/checkout@v4
32+
with:
33+
submodules: recursive
3234

33-
- name: Install build deps (Linux only)
35+
- name: Install build deps
3436
if: runner.os == 'Linux'
3537
run: |
3638
sudo apt-get update
3739
sudo apt-get install -y g++-multilib gcc-multilib cmake make
3840
3941
- name: Configure
40-
run: cmake -B build ${{ matrix.cmake-args }}
42+
run: cmake -S binaryen -B binaryen/build ${{ matrix.cmake-args }}
4143

4244
- name: Build
43-
run: cmake --build build --config Release
45+
run: cmake --build binaryen/build --config Release
4446

4547
- name: Copy to NuGet runtime folder
4648
run: |
4749
mkdir -p package/runtimes/${{ matrix.runtime }}/native
48-
cp build/Release/* package/runtimes/${{ matrix.runtime }}/native/ || cp build/* package/runtimes/${{ matrix.runtime }}/native/
50+
cp binaryen/build/Release/* package/runtimes/${{ matrix.runtime }}/native/ || cp binaryen/build/* package/runtimes/${{ matrix.runtime }}/native/
4951
52+
# Upload artifacts
5053
- name: Upload artifact
5154
uses: actions/upload-artifact@v4
5255
with:

0 commit comments

Comments
 (0)