From e7b97053acfb02894408cff0fede3d9ecab69823 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 6 Apr 2022 15:47:08 +0800 Subject: [PATCH] run both windows toolchains (#298) Maybe that way certain errors can be found related to windows error codes. --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74edf683424..dc5b52e1b51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,13 @@ jobs: run: make tests build-and-test-on-windows: + strategy: + matrix: + include: + - target: x86_64-pc-windows-gnu + rust: stable-gnu + - target: x86_64-pc-windows-msvc + rust: stable-msvc name: Windows runs-on: windows-2019 steps: @@ -39,7 +46,8 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: default - toolchain: stable + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} override: true - uses: Swatinem/rust-cache@v1 - name: "Check default features build on windows"