Build matrix for OS and features

This commit is contained in:
Antoine Gersant 2019-09-28 23:28:27 -07:00 committed by GitHub
parent 2632e083f6
commit 37edf64e17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,12 @@ on: push
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
features: [--all-features, --no-default-features]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@master
- uses: textbook/git-checkout-submodule-action@master
@ -16,4 +21,4 @@ jobs:
with:
command: test
toolchain: nightly
args: --release --all-features
args: --release ${{ matrix.features }}