Skip to content

Commit

Permalink
Install musl tools in GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Jul 2, 2022
1 parent 83c2b08 commit 8858e79
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,13 @@ jobs:
rust: stable
target: x86_64-unknown-linux-musl
cross: false
musl: true
- build: macos
os: macos-latest
rust: stable
target: x86_64-apple-darwin
cross: false
musl: false
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -142,6 +144,11 @@ jobs:
run: |
sudo apt update
sudo apt install ${{ matrix.linker }}
- name: Install Musl Tools
if: matrix.musl
run: |
sudo apt update
sudo apt install -y musl-tools musl-dev
- name: Install Rust
run: |
rustup install ${{ matrix.rust }}
Expand Down

0 comments on commit 8858e79

Please sign in to comment.