Skip to content

Commit

Permalink
ci: fix rust build for Linux aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed Sep 27, 2024
1 parent ddd45f6 commit aedbd39
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
sudo apt-get install -y gcc-13-aarch64-linux-gnu g++-13-aarch64-linux-gnu
sudo rm /etc/apt/sources.list.d/temp-repository.list
sudo apt-get update
echo "RUSTC_ARGS=-C linker=aarch64-linux-gnu-gcc-13" >> $GITHUB_ENV
- name: Install windows cross-compilation toolchain
if: ${{ matrix.plat == 'windows' }}
run: |
Expand Down Expand Up @@ -147,9 +148,7 @@ jobs:
run: yarn install
- name: Build
shell: bash
env:
TARGET: ${{ matrix.target }}
run: yarn build --target $TARGET
run: yarn build --target ${{ matrix.target }}
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit aedbd39

Please sign in to comment.