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 7
7
push :
8
8
branches :
9
9
- master
10
+ - ' *.*.*'
10
11
tags :
11
12
- " *"
12
13
pull_request :
40
41
sudo apt-get update
41
42
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
42
43
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 ' }}
45
46
run : |
46
47
apk update
47
48
apk add git ninja bash build-base nodejs linux-headers
@@ -51,12 +52,21 @@ jobs:
51
52
submodules : recursive
52
53
53
54
- name : Build for Windows
54
- if : ${{ matrix.target == 'linux' || matrix.target == 'darwin ' }}
55
+ if : ${{ matrix.target == 'windows ' }}
55
56
run : .\make.bat ${{ matrix.platform }}
56
57
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 }}
60
70
61
71
- name : Build for x64 glibc
62
72
if : ${{ matrix.platform == 'linux-x64' && matrix.libc != 'musl' }}
You can’t perform that action at this time.
0 commit comments