Skip to content

Commit

Permalink
ci: install GCC aarch64 toolchain for cross compiling for Linux ARM.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Feb 3, 2025
1 parent 9ae20eb commit c6626cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ jobs:
- run: rustup target add ${{ matrix.target }}

# Cross-compiling for ARM requires installing GCC for aarch64.
- if: matrix.build == 'linux-arm'
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Build
run: cargo build --bin yr --profile release-lto --target ${{ matrix.target }}
env:
Expand Down

0 comments on commit c6626cf

Please sign in to comment.