Enable CI on windows2019 machine (#283)

Enable CI on windows2019 machine

* Add -y for choco install
This commit is contained in:
Giacomo
2021-02-26 10:35:17 +01:00
committed by GitHub
parent f0fd88aa12
commit efb80e1032
2 changed files with 79 additions and 46 deletions

View File

@@ -0,0 +1,33 @@
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:
- stable
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