mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Build dist-aarch64-unknown-linux-gnu releases
This commit is contained in:
parent
cd532e615a
commit
884f758f7b
1 changed files with 36 additions and 1 deletions
37
.github/workflows/release.yaml
vendored
37
.github/workflows/release.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue