Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions editors/code/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ async function getServer(config: Config, state: PersistentState): Promise<string
"x64 linux": "x86_64-unknown-linux-gnu",
"x64 darwin": "x86_64-apple-darwin",
"arm64 win32": "aarch64-pc-windows-msvc",
"arm64 linux": "aarch64-unknown-linux-gnu",
"arm64 darwin": "aarch64-apple-darwin",
};
const platform = platforms[`${process.arch} ${process.platform}`];
Expand Down