File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed
Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 77 push :
88 branches :
99 - master
10+ - ' *.*.*'
1011 tags :
1112 - " *"
1213 pull_request :
4041 sudo apt-get update
4142 sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
4243
43- - name : Install ninja
44- if : ${{ matrix.target == 'linux' || matrix.target == 'darwin ' }}
44+ - name : Prepare container for musl
45+ if : ${{ matrix.target == 'linux' && matrix.libc == 'musl ' }}
4546 run : |
4647 apk update
4748 apk add git ninja bash build-base nodejs linux-headers
@@ -51,12 +52,21 @@ jobs:
5152 submodules : recursive
5253
5354 - name : Build for Windows
54- if : ${{ matrix.target == 'linux' || matrix.target == 'darwin ' }}
55+ if : ${{ matrix.target == 'windows ' }}
5556 run : .\make.bat ${{ matrix.platform }}
5657
57- - name : Build for Non-Windows
58- if : ${{ matrix.target == 'linux' || matrix.target == 'darwin' }}
59- run : ./make.sh ${{ matrix.platform }}
58+ - name : Build for Linux
59+ if : ${{ matrix.target == 'linux' }}
60+ run : |
61+ sudo apt update
62+ sudo apt install ninja-build
63+ ./make.sh ${{ matrix.platform }}
64+
65+ - name : Build for macOS
66+ if : ${{ matrix.target == 'darwin' }}
67+ run : |
68+ brew install ninja
69+ ./make.sh ${{ matrix.platform }}
6070
6171 - name : Build for x64 glibc
6272 if : ${{ matrix.platform == 'linux-x64' && matrix.libc != 'musl' }}
You can’t perform that action at this time.
0 commit comments