File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 3232 -DBUILD_TESTS=OFF
3333 -DBINARYEN_CORES=1
3434 runtime : linux-x86
35- # Windows 64-bit (native build)
35+ # Windows 64-bit
3636 - os : windows-latest
3737 arch : x64
3838 target : windows
4444 -DBUILD_TESTS=OFF
4545 -DBINARYEN_CORES=1
4646 runtime : win-x64
47- # Windows 32-bit (native build)
47+ # Windows 32-bit
4848 - os : windows-latest
4949 arch : x86
5050 target : windows
@@ -78,14 +78,14 @@ jobs:
7878 - name : Configure
7979 run : cmake -S binaryen -B binaryen ${{ matrix.cmake-args }}
8080
81- - name : Build
82- run : |
83- if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
84- cmake --build binaryen -- -j$env:NUMBER_OF_PROCESSORS
85- else
86- cmake --build binaryen -- -j$(nproc)
87- fi
88- shell : bash
81+ - name : Build (Linux)
82+ if : matrix.os == 'ubuntu-latest'
83+ run : cmake --build binaryen -- -j$(nproc)
84+
85+ - name : Build (Windows)
86+ if : matrix.os == 'windows-latest'
87+ run : cmake --build binaryen --config Release -- /m:$env:NUMBER_OF_PROCESSORS
88+ shell : cmd
8989
9090 - name : Copy to NuGet runtime folder
9191 run : |
You can’t perform that action at this time.
0 commit comments