Skip to content

Commit

Permalink
build: run Windows CI on all nondeprecated build configurations
Browse files Browse the repository at this point in the history
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 <raisinten@gmail.com>
  • Loading branch information
RaisinTen committed Mar 19, 2022
1 parent b8449e1 commit 508e6f8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci-win.yml
Expand Up @@ -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 }}
Expand Down

0 comments on commit 508e6f8

Please sign in to comment.