File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments