2021-02-26 10:35:17 +01:00
|
|
|
name: Build and Test Suite on Windows
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- dev
|
|
|
|
jobs:
|
|
|
|
build-tests:
|
|
|
|
name: Test and Build
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
platform:
|
|
|
|
- windows2019 # custom runner
|
|
|
|
toolchain:
|
2021-06-28 16:39:18 +02:00
|
|
|
- 1.52.1
|
2021-02-26 10:35:17 +01:00
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
|
|
|
uses: actions/checkout@main
|
|
|
|
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
|