2020-07-29 11:45:51 +02:00
|
|
|
name: Build and Test Suite
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-10-12 10:55:21 +02:00
|
|
|
- main
|
2020-10-26 10:27:44 +01:00
|
|
|
- dev
|
2020-07-29 11:45:51 +02:00
|
|
|
jobs:
|
|
|
|
build-tests:
|
|
|
|
name: Test and Build
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
platform:
|
2020-10-23 10:43:18 +02:00
|
|
|
- ubuntu-16.04
|
2020-07-29 11:45:51 +02:00
|
|
|
- macos-latest
|
|
|
|
toolchain:
|
|
|
|
- stable
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
2020-10-12 10:55:21 +02:00
|
|
|
uses: actions/checkout@main
|
2020-07-29 11:45:51 +02:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
- name: Install toolchain
|
|
|
|
uses: actions-rs/toolchain@v1
|
|
|
|
with:
|
|
|
|
toolchain: ${{ matrix.toolchain }}
|
|
|
|
profile: minimal
|
|
|
|
override: true
|
|
|
|
- name: Build tests
|
|
|
|
uses: actions-rs/cargo@v1
|
|
|
|
with:
|
|
|
|
command: test
|
|
|
|
args: --locked --all --release --features "json-tests" --verbose --no-run
|