Skip to content

Commit dd4a1b2

Browse files
committed
CI: Add timeout-minutes
Sometimes the VM workflows (like FreeBSD VM on Ubuntu) get stuck and the default timeout is six hours. While at it, set a sensible timeout for all workflows.
1 parent d660fe5 commit dd4a1b2

File tree

9 files changed

+9
-0
lines changed

9 files changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
2828
build_system: [autotools, cmake]
2929
runs-on: ${{ matrix.os }}
30+
timeout-minutes: 20
3031
steps:
3132
- uses: actions/checkout@v4
3233

.github/workflows/cifuzz.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ permissions: {}
1818
jobs:
1919
CIFuzz:
2020
runs-on: ubuntu-latest
21+
timeout-minutes: 30
2122

2223
strategy:
2324
fail-fast: false

.github/workflows/dragonflybsd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions: {}
1414
jobs:
1515
DragonflyBSD:
1616
runs-on: ubuntu-latest
17+
timeout-minutes: 10
1718
name: DragonflyBSD
1819
steps:
1920
- uses: actions/checkout@v4

.github/workflows/freebsd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
# arch: aarch64
2828

2929
runs-on: ${{ matrix.host }}
30+
timeout-minutes: 10
3031

3132
name: FreeBSD
3233

.github/workflows/msvc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
os: [ windows-2019, windows-latest ]
2222

2323
runs-on: ${{ matrix.os }}
24+
timeout-minutes: 10
2425

2526
steps:
2627
- uses: actions/checkout@v4

.github/workflows/msys2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
shell: msys2 {0}
3737

3838
runs-on: ${{ matrix.runner }}
39+
timeout-minutes: 20
3940

4041
steps:
4142
- name: Setup MSYS2

.github/workflows/netbsd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions: {}
1414
jobs:
1515
NetBSD:
1616
runs-on: ubuntu-latest
17+
timeout-minutes: 10
1718
name: NetBSD
1819
steps:
1920
- uses: actions/checkout@v4

.github/workflows/openbsd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions: {}
1414
jobs:
1515
OpenBSD:
1616
runs-on: ubuntu-latest
17+
timeout-minutes: 10
1718
name: OpenBSD
1819
steps:
1920
- uses: actions/checkout@v4

.github/workflows/solaris.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions: {}
1414
jobs:
1515
Solaris:
1616
runs-on: ubuntu-latest
17+
timeout-minutes: 10
1718
name: Solaris
1819
steps:
1920
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)