File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,11 @@ jobs:
5151 submodules : recursive
5252
5353 - name : Build for Windows
54- if : ${{ matrix.platform == 'windows-latest ' }}
54+ if : ${{ matrix.target == 'linux' || matrix.target == 'darwin ' }}
5555 run : .\make.bat ${{ matrix.platform }}
5656
5757 - name : Build for Non-Windows
58- if : ${{ matrix.platform != 'windows-latest ' }}
58+ if : ${{ matrix.target == 'linux' || matrix.target == 'darwin ' }}
5959 run : ./make.sh ${{ matrix.platform }}
6060
6161 - name : Build for x64 glibc
Original file line number Diff line number Diff line change 66 fail-fast : false
77 matrix :
88 include :
9- - { os: ubuntu-20.04, platform: linux-x64 }
10- - { os: macos-14, platform: darwin-arm64 }
11- - { os: windows-latest, platform: win32-x64 }
9+ - { os: ubuntu-20.04, target: linux, platform: linux-x64 }
10+ - { os: macos-14, target: darwin, platform: darwin-arm64 }
11+ - { os: windows-latest, target: windows, platform: win32-x64 }
1212 runs-on : ${{ matrix.os }}
1313 steps :
1414 - uses : actions/checkout@v4
1515 with :
1616 submodules : recursive
1717 - name : Build for Windows
18- if : ${{ matrix.os == 'windows-latest ' }}
18+ if : ${{ matrix.target == 'windows' }}
1919 run : .\make.bat
20+ - name : Install ninja
21+ if : ${{ matrix.target == 'linux' || matrix.target == 'darwin' }}
22+ run : |
23+ apk update
24+ apk add git ninja bash build-base nodejs linux-headers
2025 - name : Build for Non-Windows
21- if : ${{ matrix.os != 'windows-latest ' }}
26+ if : ${{ matrix.target == 'linux' || matrix.target == 'darwin ' }}
2227 run : ./make.sh
You can’t perform that action at this time.
0 commit comments