File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 3737 arch : x64
3838 target : windows
3939 cmake-args : >
40+ -G "MinGW Makefiles"
41+ -DCMAKE_C_COMPILER=gcc.exe
42+ -DCMAKE_CXX_COMPILER=g++.exe
4043 -DCMAKE_C_FLAGS="-m64 -w -static-libgcc -static-libstdc++"
4144 -DCMAKE_CXX_FLAGS="-m64 -w -static-libgcc -static-libstdc++"
4245 -DBUILD_SHARED_LIBS=ON
4952 arch : x86
5053 target : windows
5154 cmake-args : >
55+ -G "MinGW Makefiles"
56+ -DCMAKE_C_COMPILER=gcc.exe
57+ -DCMAKE_CXX_COMPILER=g++.exe
5258 -DCMAKE_C_FLAGS="-m32 -w -static-libgcc -static-libstdc++"
5359 -DCMAKE_CXX_FLAGS="-m32 -w -static-libgcc -static-libstdc++"
5460 -DBUILD_SHARED_LIBS=ON
7581 run : |
7682 choco install mingw --version 13.2.0 -y --force
7783
84+ - name : Add MinGW to PATH (Windows)
85+ if : matrix.os == 'windows-latest'
86+ run : |
87+ echo "C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin" >> $env:GITHUB_PATH
88+ shell : pwsh
89+
7890 - name : Configure
7991 run : cmake -S binaryen -B binaryen ${{ matrix.cmake-args }}
8092
8496
8597 - name : Build (Windows)
8698 if : matrix.os == 'windows-latest'
87- run : cmake --build binaryen --config Release
88- shell : cmd
99+ run : cmake --build binaryen
100+ shell : bash
89101
90102 - name : Copy to NuGet runtime folder
91103 run : |
You can’t perform that action at this time.
0 commit comments