Build dist-aarch64-unknown-linux-gnu releases

This commit is contained in:
Laurențiu Nicola 2021-01-17 16:23:38 +02:00
parent cd532e615a
commit 884f758f7b

View file

@ -118,6 +118,37 @@ jobs:
name: dist-x86_64-unknown-linux-gnu
path: ./dist
dist-aarch64-unknown-linux-gnu:
name: dist (aarch64-unknown-linux-gnu)
runs-on: ubuntu-16.04
env:
RA_TARGET: aarch64-unknown-linux-gnu
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-unknown-linux-gnu
profile: minimal
override: true
- name: Install target toolchain
run: sudo apt-get install gcc-aarch64-linux-gnu
- name: Dist
run: cargo xtask dist
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: dist-aarch64-unknown-linux-gnu
path: ./dist
dist-x86_64-apple-darwin:
name: dist (x86_64-apple-darwin)
runs-on: macos-latest
@ -174,7 +205,7 @@ jobs:
publish:
name: publish
runs-on: ubuntu-16.04
needs: ['dist-x86_64-pc-windows-msvc', 'dist-aarch64-pc-windows-msvc', 'dist-x86_64-unknown-linux-gnu', 'dist-x86_64-apple-darwin', 'dist-aarch64-apple-darwin']
needs: ['dist-x86_64-pc-windows-msvc', 'dist-aarch64-pc-windows-msvc', 'dist-x86_64-unknown-linux-gnu', 'dist-aarch64-unknown-linux-gnu', 'dist-x86_64-apple-darwin', 'dist-aarch64-apple-darwin']
steps:
- name: Install Nodejs
uses: actions/setup-node@v1
@ -205,6 +236,10 @@ jobs:
with:
name: dist-x86_64-unknown-linux-gnu
path: dist
- uses: actions/download-artifact@v1
with:
name: dist-aarch64-unknown-linux-gnu
path: dist
- uses: actions/download-artifact@v1
with:
name: dist-x86_64-pc-windows-msvc