Skip to content

Commit a3ea0c4

Browse files
committed
试试
1 parent 42764b3 commit a3ea0c4

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ jobs:
1717
- name: Build for Windows
1818
if: ${{ matrix.target == 'windows' }}
1919
run: .\make.bat
20-
- name: Install ninja
21-
if: ${{ matrix.target == 'linux' || matrix.target == 'darwin' }}
20+
- name: Build for Linux
21+
if: ${{ matrix.target == 'linux' }}
2222
run: |
23-
apk update
24-
apk add git ninja bash build-base nodejs linux-headers
25-
- name: Build for Non-Windows
26-
if: ${{ matrix.target == 'linux' || matrix.target == 'darwin' }}
27-
run: ./make.sh
23+
sudo apt update
24+
sudo apt install ninja-build
25+
./make.sh
26+
- name: Build for macOS
27+
if: ${{ matrix.target == 'darwin' }}
28+
run: |
29+
brew install ninja
30+
./make.sh

0 commit comments

Comments
 (0)