Skip to content

Commit a4e4997

Browse files
committed
[CI] Set build timeout to 60 minutes for normal tests and 3 hours for slow tests.
1 parent 127cda9 commit a4e4997

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
java-build:
2929
name: Java ${{ matrix.java }} (${{ matrix.os }})
3030
runs-on: ${{ matrix.os }}
31+
timeout-minutes: 60
3132
strategy:
3233
fail-fast: false
3334
matrix:
@@ -90,6 +91,7 @@ jobs:
9091
csharp-build:
9192
name: C# ${{ matrix.dotnet }}
9293
runs-on: ubuntu-24.04
94+
timeout-minutes: 60
9395
strategy:
9496
fail-fast: false
9597
matrix:
@@ -140,6 +142,7 @@ jobs:
140142
cpp-gcc-2004-build:
141143
name: C++ GCC ${{ matrix.version }} (Ubuntu 20.04)
142144
runs-on: ubuntu-20.04
145+
timeout-minutes: 60
143146
strategy:
144147
fail-fast: false
145148
matrix:
@@ -179,6 +182,7 @@ jobs:
179182
cpp-gcc-2404-build:
180183
name: C++ GCC ${{ matrix.version }} (Ubuntu 24.04)
181184
runs-on: ubuntu-24.04
185+
timeout-minutes: 60
182186
strategy:
183187
fail-fast: false
184188
matrix:
@@ -219,6 +223,7 @@ jobs:
219223
cpp-clang-2004-build:
220224
name: C++ Clang ${{ matrix.version }} (Ubuntu 20.04)
221225
runs-on: ubuntu-20.04
226+
timeout-minutes: 60
222227
strategy:
223228
fail-fast: false
224229
matrix:
@@ -261,6 +266,7 @@ jobs:
261266
cpp-clang-2404-build:
262267
name: C++ Clang ${{ matrix.version }} (Ubuntu 24.04)
263268
runs-on: ubuntu-24.04
269+
timeout-minutes: 60
264270
strategy:
265271
fail-fast: false
266272
matrix:
@@ -303,6 +309,7 @@ jobs:
303309
cpp-clang-macos-build:
304310
name: C++ Xcode ${{ matrix.version }} (macOS)
305311
runs-on: ${{ matrix.os }}
312+
timeout-minutes: 60
306313
strategy:
307314
fail-fast: false
308315
matrix:
@@ -338,6 +345,7 @@ jobs:
338345
cpp-msvc-build:
339346
name: C++ MSVC (Windows)
340347
runs-on: ${{ matrix.os }}
348+
timeout-minutes: 60
341349
strategy:
342350
fail-fast: false
343351
matrix:
@@ -373,6 +381,7 @@ jobs:
373381
rust-build:
374382
name: Rust ${{ matrix.rust }}
375383
runs-on: ubuntu-24.04
384+
timeout-minutes: 60
376385
strategy:
377386
fail-fast: false
378387
matrix:
@@ -408,6 +417,7 @@ jobs:
408417
golang-build:
409418
name: Golang ${{ matrix.version }}
410419
runs-on: ubuntu-24.04
420+
timeout-minutes: 60
411421
strategy:
412422
fail-fast: false
413423
matrix:

.github/workflows/slow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
property-tests:
3333
name: Property tests
3434
runs-on: ubuntu-24.04
35+
timeout-minutes: 180
3536
strategy:
3637
matrix:
3738
java: [ '21' ]

0 commit comments

Comments
 (0)