Skip to content

Commit 508e6f8

Browse files
committed
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 <[email protected]>
1 parent b8449e1 commit 508e6f8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci-win.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ jobs:
99
matrix:
1010
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
1111
os:
12-
- windows-2019
13-
- windows-2016
14-
runs-on: ${{ matrix.os }}
12+
- {toolchain: Visual Studio 16 2019, arch: Win32, server: 2019}
13+
- {toolchain: Visual Studio 16 2019, arch: x64, server: 2019}
14+
- {toolchain: Visual Studio 17 2022, arch: Win32, server: 2022}
15+
- {toolchain: Visual Studio 17 2022, arch: x64, server: 2022}
16+
runs-on: windows-${{ matrix.os.server }}
17+
name: build-${{ matrix.os.toolchain}}-${{ matrix.os.arch}}
1518
steps:
1619
- uses: actions/checkout@v2
1720
- name: Use Node.js ${{ matrix.node-version }}

0 commit comments

Comments
 (0)