]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA: pin jobs to windows-2022
authorViktor Szakats <commit@vsz.me>
Tue, 5 Aug 2025 10:55:59 +0000 (12:55 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 5 Aug 2025 11:42:35 +0000 (13:42 +0200)
To avoid being bumped to windows-2025 in September, and to stay with
the superior performance offered by windows-2022 runners.

Ref: #18140
Closes #18178

.github/workflows/distcheck.yml
.github/workflows/windows.yml

index 42633ef040128a94ab6c8bef55ecf77de9dbf696..3d5adc7593c527ce1be99217a4e5b6a7dadf2f5b 100644 (file)
@@ -260,7 +260,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        image: [ubuntu-latest, macos-latest, windows-latest]
+        image: [ubuntu-latest, macos-latest, windows-2022]
     steps:
       - uses: msys2/setup-msys2@40677d36a502eb2cf0fb808cc9dec31bf6152638 # v2
         if: ${{ contains(matrix.image, 'windows') }}
index df918d54a54d9090aacf64339100982f28ae593c..812bc9b799b4fe8fa1ba218983ebd23846aeb950 100644 (file)
@@ -43,7 +43,7 @@ env:
 jobs:
   cygwin:
     name: "cygwin, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.platform }} ${{ matrix.name }}"
-    runs-on: windows-latest
+    runs-on: windows-2022
     timeout-minutes: 15
     defaults:
       run:
@@ -187,7 +187,7 @@ jobs:
 
   msys2:  # both msys and mingw-w64
     name: "${{ matrix.sys == 'msys' && 'msys2' || 'mingw' }}, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.env }} ${{ matrix.name }} ${{ matrix.test }}"
-    runs-on: ${{ matrix.image || 'windows-latest' }}
+    runs-on: ${{ matrix.image || 'windows-2022' }}
     timeout-minutes: 15
     defaults:
       run:
@@ -414,7 +414,7 @@ jobs:
 
   mingw-w64-standalone-downloads:
     name: 'dl-mingw, CM ${{ matrix.ver }}-${{ matrix.env }} ${{ matrix.name }}'
-    runs-on: windows-latest
+    runs-on: windows-2022
     timeout-minutes: 15
     defaults:
       run:
@@ -697,7 +697,7 @@ jobs:
 
   msvc:
     name: 'msvc, CM ${{ matrix.arch }}-${{ matrix.plat }} ${{ matrix.name }}'
-    runs-on: ${{ matrix.image || 'windows-latest' }}
+    runs-on: ${{ matrix.image || 'windows-2022' }}
     timeout-minutes: 15
     defaults:
       run: