Skip to content

Commit

Permalink
add aarch linux target
Browse files Browse the repository at this point in the history
  • Loading branch information
VishnuJin committed Mar 30, 2022
1 parent 1dc480a commit a99664d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,22 @@ jobs:

- name: Install latest Rust stable toolchain
uses: actions-rs/toolchain@v1
if: matrix.config.arch == 'aarch64'
if: matrix.config.arch == 'aarch64' && matrix.config.os == 'macos-latest'
with:
toolchain: stable
default: true
components: clippy, rustfmt
target: aarch64-apple-darwin

- name: Install latest Rust stable toolchain
uses: actions-rs/toolchain@v1
if: matrix.config.arch == 'aarch64'&& matrix.config.os == 'ubuntu-latest'
with:
toolchain: stable
default: true
components: clippy, rustfmt
target: aarch64-unknown-linux-gnu

- name: build release
uses: actions-rs/cargo@v1
if: matrix.config.arch != 'aarch64'
Expand Down

0 comments on commit a99664d

Please sign in to comment.