Skip to content

Commit a617601

Browse files
committed
ci: windows-2022 image (2019 was retired)
1 parent a862af8 commit a617601

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
Windows:
3232
name: Test on Windows
33-
runs-on: windows-2019
33+
runs-on: windows-2025
3434
strategy:
3535
matrix:
3636
node: [18.20.5, 20.18.1, 22.12.0, 23.3.0, 24.2.0]
@@ -45,6 +45,12 @@ jobs:
4545
Expand-Archive gtk.zip -DestinationPath "C:\GTK"
4646
Invoke-WebRequest "https://downloads.sourceforge.net/project/libjpeg-turbo/2.0.4/libjpeg-turbo-2.0.4-vc64.exe" -OutFile "libjpeg.exe" -UserAgent NativeHost
4747
.\libjpeg.exe /S
48+
winget install --accept-source-agreements --id=Microsoft.VCRedist.2005.x64 -e
49+
winget install --id=Microsoft.VCRedist.2008.x64 -e
50+
winget install --id=Microsoft.VCRedist.2010.x64 -e
51+
winget install --id=Microsoft.VCRedist.2012.x64 -e
52+
winget install --id=Microsoft.VCRedist.2013.x64 -e
53+
winget install --id=Microsoft.VCRedist.2015+.x64 -e
4854
npm install -g node-gyp@8
4955
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
5056
- name: Install

0 commit comments

Comments
 (0)