Update rust.yml
This commit is contained in:
parent
b4453116fe
commit
dee1992f44
1 changed files with 23 additions and 1 deletions
24
.github/workflows/rust.yml
vendored
24
.github/workflows/rust.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
with:
|
||||
command: build
|
||||
|
||||
build-and-test-apple-silicon-mac:
|
||||
build-and-test-mac-arm:
|
||||
runs-on: [macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -63,3 +63,25 @@ jobs:
|
|||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
|
||||
build-and-test-ios:
|
||||
runs-on: [macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install latest nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
target: aarch64-apple-ios
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Run cargo test
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
|
||||
- name: Run cargo build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
|
|
Loading…
Reference in a new issue