Skip to content

Commit

Permalink
Add MacOS check and test to CI (#744)
Browse files Browse the repository at this point in the history
adds macos checks and tests to pull request ci
  • Loading branch information
neeldug authored Oct 1, 2020
1 parent cd2ea03 commit 672aa11
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 672aa11

Please sign in to comment.