From 62a6190c17c50648c7a91907407262dd8c842d4b Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Sun, 4 Aug 2024 00:19:10 +0200 Subject: [PATCH] ci: support msvc 17 --- .github/workflows/windows.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c82a151..56797ea 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -5,19 +5,26 @@ on: [push, pull_request] jobs: build: name: ${{matrix.sys}}-${{matrix.env}}-${{matrix.build_type}} - runs-on: windows-2019 + runs-on: ${{matrix.generator}} strategy: fail-fast: true matrix: build_type: [Release, Debug] - sys: [mingw32, mingw64, msvc-16] + sys: [mingw32, mingw64, msvc-16, msvc-17] include: - sys: mingw32 env: i686 + runner: windows-2022 - sys: mingw64 env: x86_64 + runner: windows-2022 - sys: msvc-16 generator: 'Visual Studio 16 2019' + runner: windows-2019 + env: x64 + - sys: msvc-17 + generator: 'Visual Studio 17 2022' + runner: windows-2022 env: x64 steps: