From 672aa11b01d02c5216c6727c7eea1217f58e1e86 Mon Sep 17 00:00:00 2001 From: neeldug <5161147+neeldug@users.noreply.github.com> Date: Thu, 1 Oct 2020 20:08:03 +0100 Subject: [PATCH] Add MacOS check and test to CI (#744) 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 d5f5a21a1a..614435a78e 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