GHA/windows: shorten job timeouts

To reduce the wait for re-running stuck jobs.

Sometimes jobs hang/get stuck while running tests, ignoring the step
timeout.

Closes #15851
This commit is contained in:
Viktor Szakats 2024-12-28 23:23:04 +01:00
parent abb4fa5b62
commit 7d6edf1d8d
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -39,7 +39,7 @@ jobs:
cygwin:
name: "cygwin, ${{ matrix.build == 'cmake' && 'CM' || 'AM' }} ${{ matrix.platform }} ${{ matrix.name }}"
runs-on: windows-latest
timeout-minutes: 45
timeout-minutes: 25
defaults:
run:
shell: C:\cygwin\bin\bash.exe '{0}'
@ -162,7 +162,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: windows-latest
timeout-minutes: 30
timeout-minutes: 20
defaults:
run:
shell: msys2 {0}
@ -359,7 +359,7 @@ jobs:
old-mingw-w64:
name: 'old-mingw, CM ${{ matrix.env }} ${{ matrix.name }}'
runs-on: windows-latest
timeout-minutes: 30
timeout-minutes: 20
defaults:
run:
shell: C:\msys64\usr\bin\bash.exe {0}