]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/windows: reduce workflow timeouts
authorViktor Szakats <commit@vsz.me>
Fri, 2 Jan 2026 21:50:34 +0000 (22:50 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 2 Jan 2026 22:43:23 +0000 (23:43 +0100)
From 15 to 10 minutes.

To reduce the idle wait for hung jobs from 20 to 15 minutes (hopefully),
so that the failed just can be restarted manually eariler. It appears
that GitHub Actions notices a hung job 5 minutes past the workflow
timeout (reason undiscovered).

Also: Leave extra time for torture and arm64 jobs.

Closes #20170

.github/workflows/windows.yml

index d3485eb90b7fc241661ae1edea943f2207444d09..721d5e54d92f7038f33c40185d6da69572a2b2b7 100644 (file)
@@ -43,7 +43,7 @@ jobs:
   cygwin:
     name: "cygwin, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.platform }} ${{ matrix.name }}"
     runs-on: windows-2022
-    timeout-minutes: 15
+    timeout-minutes: 10
     defaults:
       run:
         shell: D:\cygwin\bin\bash.exe '{0}'
@@ -185,7 +185,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-2022' }}
-    timeout-minutes: 15
+    timeout-minutes: ${{ contains(matrix.tflags, '-t') && 14 || 10 }}
     defaults:
       run:
         shell: msys2 {0}
@@ -413,7 +413,7 @@ jobs:
   mingw-w64-standalone-downloads:
     name: 'dl-mingw, CM ${{ matrix.ver }}-${{ matrix.env }} ${{ matrix.name }}'
     runs-on: windows-2022
-    timeout-minutes: 15
+    timeout-minutes: 10
     defaults:
       run:
         shell: msys2 {0}
@@ -600,7 +600,7 @@ jobs:
   linux-cross-mingw-w64:
     name: "linux-mingw, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.compiler }}"
     runs-on: ubuntu-latest
-    timeout-minutes: 15
+    timeout-minutes: 10
     env:
       MAKEFLAGS: -j 5
       TRIPLET: 'x86_64-w64-mingw32'
@@ -699,7 +699,7 @@ jobs:
   msvc:
     name: 'msvc, CM ${{ matrix.arch }}-${{ matrix.plat }} ${{ matrix.name }}'
     runs-on: ${{ matrix.image || 'windows-2022' }}
-    timeout-minutes: 15
+    timeout-minutes: ${{ matrix.arch == 'arm64' && 12 || 10 }}
     defaults:
       run:
         shell: msys2 {0}