diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-07-02 14:43:01 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-07-02 14:48:50 +0200 |
| commit | 3dc9ec246c4eabd9907636ccd1bca85b3df56d53 (patch) | |
| tree | 8bdb34baab03c934b74a80d66f918997708c195d | |
| parent | 42f9ad56e9ebc92725fec0b704184e1c09059133 (diff) | |
| download | rust-3dc9ec246c4eabd9907636ccd1bca85b3df56d53.tar.gz rust-3dc9ec246c4eabd9907636ccd1bca85b3df56d53.zip | |
[CI] Cross compile to aarch64-unknown-linux-gnu
| -rw-r--r-- | .github/workflows/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c8593498057..f81ac877260 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,9 @@ jobs: - os: ubuntu-latest env: TARGET_TRIPLE: x86_64-pc-windows-gnu + - os: ubuntu-latest + env: + TARGET_TRIPLE: aarch64-unknown-linux-gnu steps: - uses: actions/checkout@v2 @@ -49,6 +52,11 @@ jobs: sudo apt-get install -y gcc-mingw-w64-x86-64 wine-stable rustup target add x86_64-pc-windows-gnu + - name: Install AArch64 toolchain and qemu + if: matrix.os == 'ubuntu-latest' && matrix.env.TARGET_TRIPLE == 'aarch64-unknown-linux-gnu' + run: | + sudo apt-get install -y gcc-aarch64-linux-gnu qemu-user + - name: Prepare dependencies run: | git config --global user.email "user@example.com" |
