From 508e6f89a0ca2f1061bc14964fc1bf26c61a6241 Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Sat, 19 Mar 2022 21:00:08 +0530 Subject: [PATCH] build: run Windows CI on all nondeprecated build configurations The windows-2016 runner has been deprecated on March 15, 2022. That is why those runs are getting cancelled recently. This change fixes the issue by removing such runners and adding some more nondeprecated build configurations to the matrix. Refs: https://github.blog/changelog/2021-10-19-github-actions-the-windows-2016-runner-image-will-be-removed-from-github-hosted-runners-on-march-15-2022 Signed-off-by: Darshan Sen --- .github/workflows/ci-win.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-win.yml b/.github/workflows/ci-win.yml index c72787539..ac250ef4c 100644 --- a/.github/workflows/ci-win.yml +++ b/.github/workflows/ci-win.yml @@ -9,9 +9,12 @@ jobs: matrix: node-version: [10.x, 12.x, 14.x, 15.x, 16.x] os: - - windows-2019 - - windows-2016 - runs-on: ${{ matrix.os }} + - {toolchain: Visual Studio 16 2019, arch: Win32, server: 2019} + - {toolchain: Visual Studio 16 2019, arch: x64, server: 2019} + - {toolchain: Visual Studio 17 2022, arch: Win32, server: 2022} + - {toolchain: Visual Studio 17 2022, arch: x64, server: 2022} + runs-on: windows-${{ matrix.os.server }} + name: build-${{ matrix.os.toolchain}}-${{ matrix.os.arch}} steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }}