Browse Source

Add MacOS check and test to CI (#744)

adds macos checks and tests to pull request ci
pull/765/head
neeldug 4 years ago committed by GitHub
parent
commit
672aa11b01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 30
      .github/workflows/rust.yml

30
.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

Loading…
Cancel
Save