Skip to content

Commit a15972c

Browse files
authored
Install cross compiler for aarch64
1 parent 6b95712 commit a15972c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
libgstrtspserver-1.0-dev \
4646
libges-1.0-dev
4747
48+
- name: Install cross-compiler for aarch64
49+
if: matrix.target == 'aarch64-unknown-linux-gnu'
50+
run: |
51+
sudo apt-get update
52+
sudo apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross
53+
4854
- name: Add target if needed
4955
run: rustup target add ${{ matrix.target }}
5056

0 commit comments

Comments
 (0)