]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/curl-for-win: reduce job timeout to 10m, apply to Windows jobs
authorViktor Szakats <commit@vsz.me>
Mon, 7 Jul 2025 16:51:15 +0000 (18:51 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 7 Jul 2025 17:03:00 +0000 (19:03 +0200)
The timeout was missing from two Windows jobs, making them linger for
a long time due to a command waiting forever.

As seen today with/after `apt update`:
https://github.com/curl/curl/actions/runs/16121485403/job/45488122962?pr=17846

Closes #17852

.github/workflows/curl-for-win.yml

index 088ec0de8dda4d2dcb0c296414783d34ab4298b7..5b0d2e03c1b220b1308ca816aeb79a78d718fd91 100644 (file)
@@ -47,7 +47,7 @@ jobs:
   linux-glibc-gcc:
     name: 'Linux gcc glibc'
     runs-on: ubuntu-latest
-    timeout-minutes: 30
+    timeout-minutes: 10
     steps:
       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
         with:
@@ -76,7 +76,7 @@ jobs:
   linux-musl-llvm:
     name: 'Linux llvm MUSL'
     runs-on: ubuntu-latest
-    timeout-minutes: 30
+    timeout-minutes: 10
     steps:
       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
         with:
@@ -103,7 +103,7 @@ jobs:
   mac-clang:
     name: 'macOS clang'
     runs-on: macos-latest
-    timeout-minutes: 30
+    timeout-minutes: 10
     env:
       CW_JOBS: '4'
     steps:
@@ -123,6 +123,7 @@ jobs:
   win-llvm:
     name: 'Windows llvm'
     runs-on: ubuntu-latest
+    timeout-minutes: 10
     steps:
       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
         with:
@@ -149,6 +150,7 @@ jobs:
   win-gcc-libssh-zlibold-x86:
     name: 'Windows gcc libssh zlib-classic x86'
     runs-on: ubuntu-latest
+    timeout-minutes: 10
     steps:
       - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
         with: