From b1c6279605853896867e5963e784228e33fc17d4 Mon Sep 17 00:00:00 2001 From: nd419 <5161147+neeldug@users.noreply.github.com> Date: Wed, 30 Sep 2020 17:44:09 +0100 Subject: [PATCH] ci(GitHubActions): add macos check and test to ci adds macos checks and tests to pull request ci --- .github/workflows/rust.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d5f5a21a1ae..614435a78e0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -54,6 +54,21 @@ jobs: command: check args: -v + check_on_macos: + name: Check on MacOS + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + profile: minimal + - uses: actions-rs/cargo@v1 + with: + command: check + args: -v + test_on_linux: name: Test Suite on Linux runs-on: ubuntu-latest @@ -103,6 +118,21 @@ jobs: command: test args: -v + test_on_macos: + name: Test Suite on MacOS + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + profile: minimal + - uses: actions-rs/cargo@v1 + with: + command: test + args: -v + fmt: name: Rustfmt runs-on: ubuntu-latest