Skip to content

Commit

Permalink
build: install musl-tools for linux-musl
Browse files Browse the repository at this point in the history
  • Loading branch information
talss89 committed Feb 5, 2024
1 parent ee8de48 commit 0bcb160
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
matrix:
platform:
- release_for: linux-x86_64
os: macos-14
os: ubuntu-20.04
target: x86_64-unknown-linux-musl
bin: sprout
name: sprout-linux-x86_64.tar.gz
command: build
- release_for: linux-aarch64
os: macos-14
os: ubuntu-20.04
target: aarch64-unknown-linux-musl
bin: sprout
name: sprout-linux-aarch64.tar.gz
Expand All @@ -39,6 +39,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: musl-tools # provides musl-gcc
version: 1.0
if: startsWith( matrix.platform.os, 'ubuntu' )
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
Expand Down

0 comments on commit 0bcb160

Please sign in to comment.