Skip to content

Commit c6626cf

Browse files
committed
ci: install GCC aarch64 toolchain for cross compiling for Linux ARM.
1 parent 9ae20eb commit c6626cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ jobs:
6666
6767
- run: rustup target add ${{ matrix.target }}
6868

69+
# Cross-compiling for ARM requires installing GCC for aarch64.
70+
- if: matrix.build == 'linux-arm'
71+
run: |
72+
sudo apt-get update
73+
sudo apt-get install -y gcc-aarch64-linux-gnu
74+
6975
- name: Build
7076
run: cargo build --bin yr --profile release-lto --target ${{ matrix.target }}
7177
env:

0 commit comments

Comments
 (0)