Skip to content

Commit 3ffa6a6

Browse files
committed
.
1 parent b28d687 commit 3ffa6a6

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ jobs:
6262
run: mkdir -p out
6363

6464
- name: cmake (linux)
65-
run: cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Release
65+
run: cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=out/install
6666
if: matrix.os == 'ubuntu-latest'
6767

6868
- name: cmake (osx)
69-
run: cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Release
69+
run: cmake -S . -B out -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=out/install
7070
if: matrix.os == 'macos-latest'
7171

7272
- name: cmake (win)
7373
# -G "Visual Studio 15 2017"
74-
run: cmake -S . -B out
74+
run: cmake -S . -B out -DCMAKE_INSTALL_PREFIX=out/install
7575
if: matrix.os == 'windows-latest'
7676

7777
- name: build
@@ -84,18 +84,18 @@ jobs:
8484
run: find out/install/ -type f -perm -u=x -exec strip {} +
8585
if: matrix.os != 'windows-latest'
8686

87-
- name: test
88-
run: python check.py --binaryen-bin=out/bin
89-
# Currently disabled on windows due to a single test failure.
90-
# https://github.com/WebAssembly/binaryen/issues/2781
91-
if: matrix.os != 'windows-latest'
92-
9387
- name: Upload artifacts
9488
uses: actions/upload-artifact@v1
9589
with:
9690
name: build-${{ matrix.os }}
9791
path: out/install
9892

93+
- name: test
94+
run: python check.py --binaryen-bin=out/install/bin
95+
# Currently disabled on windows due to a single test failure.
96+
# https://github.com/WebAssembly/binaryen/issues/2781
97+
if: matrix.os != 'windows-latest'
98+
9999
build-clang:
100100
name: clang
101101
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)