Update rust.yml

This commit is contained in:
Hannes 2021-05-13 14:14:19 +02:00 committed by GitHub
parent 3d1bd67703
commit d5f1730a9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ env:
CARGO_TERM_COLOR: always
jobs:
build:
build-and-test-native:
strategy:
matrix:
@ -41,3 +41,25 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
build-and-test-apple:
runs-on: [macos-latest]
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
targets: aarch64-apple-darwin, 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