From 9de7001b5ece37ed1aa00224a3f2c3450569e85e Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 2 Jan 2026 22:50:34 +0100 Subject: [PATCH] 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 --- .github/workflows/windows.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d3485eb90b..721d5e54d9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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}