Skip to content

Commit 3dc9ec2

Browse files
committed
[CI] Cross compile to aarch64-unknown-linux-gnu
1 parent 42f9ad5 commit 3dc9ec2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
- os: ubuntu-latest
2020
env:
2121
TARGET_TRIPLE: x86_64-pc-windows-gnu
22+
- os: ubuntu-latest
23+
env:
24+
TARGET_TRIPLE: aarch64-unknown-linux-gnu
2225

2326
steps:
2427
- uses: actions/checkout@v2
@@ -49,6 +52,11 @@ jobs:
4952
sudo apt-get install -y gcc-mingw-w64-x86-64 wine-stable
5053
rustup target add x86_64-pc-windows-gnu
5154
55+
- name: Install AArch64 toolchain and qemu
56+
if: matrix.os == 'ubuntu-latest' && matrix.env.TARGET_TRIPLE == 'aarch64-unknown-linux-gnu'
57+
run: |
58+
sudo apt-get install -y gcc-aarch64-linux-gnu qemu-user
59+
5260
- name: Prepare dependencies
5361
run: |
5462
git config --global user.email "[email protected]"

0 commit comments

Comments
 (0)