Skip to content

Commit

Permalink
Conditionally install musl toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Dec 10, 2023
1 parent 2b333eb commit 269ca32
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install musl
# on `aarch64-unknown-linux-musl`, cross provides musl toolchain
if: matrix.target == 'x86_64-unknown-linux-musl'
run: |
sudo apt-get update
sudo apt-get install musl
- name: Install cross
if: matrix.use-cross
run: |
Expand Down

0 comments on commit 269ca32

Please sign in to comment.