File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed
Expand file tree Collapse file tree 1 file changed +5
-16
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 : -G "MinGW Makefiles" -DCMAKE_C_FLAGS="-m64 -w -static -static-libgcc -static-libstdc++ " -DCMAKE_CXX_FLAGS="-m64 -w -static -static-libgcc -static-libstdc++" -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
13+ cmake-args : -A x64 -DCMAKE_CXX_FLAGS="/W0 /MT " -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 : -G "MinGW Makefiles" -DCMAKE_C_FLAGS="-m32 -w -static -static-libgcc -static-libstdc++ " -DCMAKE_CXX_FLAGS="-m32 -w -static -static-libgcc -static-libstdc++" -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
17+ cmake-args : -A Win32 -DCMAKE_CXX_FLAGS="/W0 /MT " -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
@@ -38,28 +38,17 @@ jobs:
3838 sudo apt-get update
3939 sudo apt-get install -y g++-multilib gcc-multilib cmake make
4040
41- - name : Install build deps (Windows MinGW)
42- if : runner.os == 'Windows'
43- uses : msys2/setup-msys2@v2
44- with :
45- update : true
46- install : >-
47- mingw-w64-${{ matrix.arch }}-gcc
48- mingw-w64-${{ matrix.arch }}-cmake
49- mingw-w64-${{ matrix.arch }}-make
50-
5141 - name : Configure
5242 run : cmake -S binaryen -B binaryen/build ${{ matrix.cmake-args }}
53- shell : msys2 {0}
5443
5544 - name : Build (Linux)
5645 if : runner.os == 'Linux'
5746 run : cmake --build binaryen/build -- -j$(nproc)
58-
47+
5948 - name : Build (Windows)
6049 if : runner.os == 'Windows'
61- run : cmake --build binaryen/build -- -j$(nproc)
62- shell : msys2 {0}
50+ run : cmake --build binaryen/build --config Release -- /m
51+ shell : pwsh
6352
6453 - name : Copy to NuGet runtime folder
6554 run : |
You can’t perform that action at this time.
0 commit comments