From: Viktor Szakats Date: Fri, 2 Jan 2026 21:50:34 +0000 (+0100) Subject: GHA/windows: reduce workflow timeouts X-Git-Tag: curl-8_18_0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9de7001b5ece37ed1aa00224a3f2c3450569e85e;p=thirdparty%2Fcurl.git 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 --- 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}