GHA/windows: reduce workflow timeouts

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
This commit is contained in:
Viktor Szakats 2026-01-02 22:50:34 +01:00
parent d057b705fd
commit 9de7001b5e
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View 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}