mirror of
https://github.com/agersant/polaris
synced 2024-11-10 10:14:12 +00:00
Build matrix for OS and features
This commit is contained in:
parent
2632e083f6
commit
37edf64e17
1 changed files with 7 additions and 2 deletions
9
.github/workflows/validate-pr.yaml
vendored
9
.github/workflows/validate-pr.yaml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue