From d5f1730a9d86dc9dfc2798dc689663780d5c7499 Mon Sep 17 00:00:00 2001 From: Hannes <55623006+umgefahren@users.noreply.github.com> Date: Thu, 13 May 2021 14:14:19 +0200 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6470700..d6dd09b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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