File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
1010 include :
1111 - os : windows-latest
1212 arch : x64
13- cmake-args : -A x64 -DCMAKE_CXX_FLAGS="/W0 /MT" -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
13+ cmake-args : -G "MinGW Makefiles" -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
1414 runtime : win-x64
1515 - os : windows-latest
1616 arch : x86
17- cmake-args : -A Win32 -DCMAKE_CXX_FLAGS="/W0 /MT" -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
17+ cmake-args : -G "MinGW Makefiles" -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++ -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
1818 runtime : win-x86
1919 - os : ubuntu-latest
2020 arch : x64
3838 sudo apt-get update
3939 sudo apt-get install -y g++-multilib gcc-multilib cmake make
4040
41+ - name : Install build deps (Windows)
42+ if : runner.os == 'Windows'
43+ run : |
44+ choco install mingw --no-progress --yes
45+ choco install cmake ninja --no-progress --yes
46+
4147 # Limit Binaryen to 1 core
4248 - name : Limit Binaryen to 1 core
4349 run : echo "BINARYEN_CORES=1" >> $GITHUB_ENV
@@ -48,10 +54,10 @@ jobs:
4854 - name : Build (Linux)
4955 if : runner.os == 'Linux'
5056 run : cmake --build binaryen/build -- -j1
51-
57+
5258 - name : Build (Windows)
5359 if : runner.os == 'Windows'
54- run : cmake --build binaryen/build --config Release -- /m:1
60+ run : cmake --build binaryen/build -- -j1
5561 shell : pwsh
5662
5763 - name : Copy to NuGet runtime folder
You can’t perform that action at this time.
0 commit comments