Skip to content

Commit

Permalink
fix: Linux ARM setup release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
leruaa committed Nov 8, 2024
1 parent 16d76ca commit 1b8b192
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,18 @@ jobs:
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version)" >> $GITHUB_ENV
- name: Linux ARM setup
if: matrix.target == 'aarch64-unknown-linux-gnu'
if: matrix.target == 'aarch64-unknown-linux-musl'
run: |
sudo apt-get update -y
sudo apt-get install -y gcc-aarch64-linux-gnu
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
- name: Musl setup
if: matrix.target == 'x86_64-unknown-linux-musl'
if: contains(${{ matrix.target }}, 'musl')
run: |
sudo apt-get update -y
sudo apt-get install -y musl-tools musl-dev
rustup target add x86_64-unknown-linux-musl
rustup target add ${{ matrix.target }}
- name: Build binaries
env:
Expand Down

0 comments on commit 1b8b192

Please sign in to comment.