Skip to content

Commit

Permalink
Support more platforms/toolchains. (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentMazare committed Dec 12, 2020
1 parent 04203e9 commit 8b65190
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/rust-ci.yml
Expand Up @@ -5,27 +5,35 @@ name: Continuous integration
jobs:
check:
name: Check
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
command: check

test:
name: Test Suite
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: ${{ matrix.rust }}
override: true
- uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit 8b65190

Please sign in to comment.