Skip to content

Commit c3dcc8a

Browse files
committed
Revert "Update buildbinaryen.yml."
This reverts commit 74c75cf.
1 parent 74c75cf commit c3dcc8a

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/buildbinaryen.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)