From 1b8b192c128eef61b3bcf660cd39e2232e46b9ba Mon Sep 17 00:00:00 2001 From: leruaa Date: Fri, 8 Nov 2024 11:59:27 -0800 Subject: [PATCH] fix: Linux ARM setup release CI --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 276e5758c6..b2fc912b96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: