]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/windows: limit jobs to 15 minutes
authorViktor Szakats <commit@vsz.me>
Thu, 24 Apr 2025 17:12:42 +0000 (19:12 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 24 Apr 2025 17:46:28 +0000 (19:46 +0200)
They typically finish (well) within 10 minutes.

A notable exception was vcpkg jobs when a rebuild was triggered.
With caching lost and reducing them to short builds, this is not
an issue at the moment.

The advantage of shorter timeouts is hung/crashed jobs giving back
control earlier for a manual retry.

Closes #17173

.github/workflows/windows.yml

index e9d9eb31a962b210ca52b006b3b465f59a2684a4..82ae3e6d41509b74e29d9c9de9ed8d49f1212f4f 100644 (file)
@@ -39,7 +39,7 @@ jobs:
   cygwin:
     name: "cygwin, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.platform }} ${{ matrix.name }}"
     runs-on: windows-latest
-    timeout-minutes: 25
+    timeout-minutes: 15
     defaults:
       run:
         shell: D:\cygwin\bin\bash.exe '{0}'
@@ -173,7 +173,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' }}
-    timeout-minutes: 20
+    timeout-minutes: 15
     defaults:
       run:
         shell: msys2 {0}
@@ -390,7 +390,7 @@ jobs:
   mingw-w64-standalone-downloads:
     name: 'dl-mingw, CM ${{ matrix.ver }}-${{ matrix.env }} ${{ matrix.name }}'
     runs-on: windows-latest
-    timeout-minutes: 20
+    timeout-minutes: 15
     defaults:
       run:
         shell: msys2 {0}
@@ -751,7 +751,7 @@ jobs:
   msvc:
     name: 'msvc, CM ${{ matrix.arch }}-${{ matrix.plat }} ${{ matrix.name }}'
     runs-on: ${{ matrix.image || 'windows-latest' }}
-    timeout-minutes: 55
+    timeout-minutes: 15
     defaults:
       run:
         shell: msys2 {0}