Skip to content

Commit

Permalink
还是分开来写吧
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed May 14, 2024
1 parent 4beadad commit 8039f96
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ jobs:
run: |
apk update
apk add git ninja bash build-base nodejs linux-headers
alias sudo=''
- name: Prepare for Linux
if: ${{ matrix.target == 'linux' && matrix.libc != 'musl' }}
run: |
sudo apt update
sudo apt install ninja-build
- uses: actions/checkout@v4
with:
Expand All @@ -59,8 +64,6 @@ jobs:
- name: Build for Linux
if: ${{ matrix.target == 'linux' }}
run: |
sudo apt update
sudo apt install ninja-build
./make.sh ${{ matrix.platform }}
- name: Build for macOS
Expand Down

0 comments on commit 8039f96

Please sign in to comment.