Skip to content

Commit 4ffb519

Browse files
committed
WIP
1 parent 484e5c3 commit 4ffb519

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,19 @@ jobs:
134134
run: choco install ninja
135135

136136
- name: Build binaryen
137-
if: steps.cache-binaryen.outputs.cache-hit != 'true'
137+
if: matrix.os != 'windows-latest' && steps.cache-binaryen.outputs.cache-hit != 'true'
138138
working-directory: ./binaryen
139139
run: |
140140
cmake -G Ninja -DBUILD_STATIC_LIB=ON -DBUILD_TESTS=off -DINSTALL_LIBS=off .
141141
ninja
142142
143+
- name: Build binaryen
144+
if: matrix.os == 'windows-latest' && steps.cache-binaryen.outputs.cache-hit != 'true'
145+
working-directory: ./binaryen
146+
run: |
147+
cmake . -DBUILD_STATIC_LIB=ON -DBUILD_TESTS=off -DINSTALL_LIBS=off -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc
148+
make -j 4
149+
143150
- name: Cache binaryen
144151
if: steps.cache-binaryen.outputs.cache-hit != 'true'
145152
uses: actions/cache/save@v4

0 commit comments

Comments
 (0)