Add MacOS check and test to CI
adds macos checks and tests to pull request ci
@@ -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
