Try naively parallelizing test and build jobs on our platform matrix

This commit is contained in:
Deirdre Connolly 2020-08-14 19:51:03 -04:00 committed by Deirdre Connolly
parent 27ed2288b5
commit eda6d86d3e
1 changed files with 19 additions and 1 deletions

View File

@ -8,7 +8,7 @@ on:
jobs:
test:
name: Build & test on ${{ matrix.os }}
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -29,6 +29,24 @@ jobs:
with:
command: test
args: --verbose --all
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: cargo fetch
uses: actions-rs/cargo@v1
with:
command: fetch
- name: Build
uses: actions-rs/cargo@v1
with: