mirror of
https://git.tukaani.org/xz.git
synced 2025-05-23 22:56:44 +00:00
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.
This commit is contained in:
parent
d660fe5d56
commit
dd4a1b2599
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -27,6 +27,7 @@ jobs:
|
||||
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
|
||||
build_system: [autotools, cmake]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
1
.github/workflows/cifuzz.yml
vendored
1
.github/workflows/cifuzz.yml
vendored
@ -18,6 +18,7 @@ permissions: {}
|
||||
jobs:
|
||||
CIFuzz:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
1
.github/workflows/dragonflybsd.yml
vendored
1
.github/workflows/dragonflybsd.yml
vendored
@ -14,6 +14,7 @@ permissions: {}
|
||||
jobs:
|
||||
DragonflyBSD:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
name: DragonflyBSD
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
1
.github/workflows/freebsd.yml
vendored
1
.github/workflows/freebsd.yml
vendored
@ -27,6 +27,7 @@ jobs:
|
||||
# arch: aarch64
|
||||
|
||||
runs-on: ${{ matrix.host }}
|
||||
timeout-minutes: 10
|
||||
|
||||
name: FreeBSD
|
||||
|
||||
|
1
.github/workflows/msvc.yml
vendored
1
.github/workflows/msvc.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
||||
os: [ windows-2019, windows-latest ]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
1
.github/workflows/msys2.yml
vendored
1
.github/workflows/msys2.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
||||
shell: msys2 {0}
|
||||
|
||||
runs-on: ${{ matrix.runner }}
|
||||
timeout-minutes: 20
|
||||
|
||||
steps:
|
||||
- name: Setup MSYS2
|
||||
|
1
.github/workflows/netbsd.yml
vendored
1
.github/workflows/netbsd.yml
vendored
@ -14,6 +14,7 @@ permissions: {}
|
||||
jobs:
|
||||
NetBSD:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
name: NetBSD
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
1
.github/workflows/openbsd.yml
vendored
1
.github/workflows/openbsd.yml
vendored
@ -14,6 +14,7 @@ permissions: {}
|
||||
jobs:
|
||||
OpenBSD:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
name: OpenBSD
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
1
.github/workflows/solaris.yml
vendored
1
.github/workflows/solaris.yml
vendored
@ -14,6 +14,7 @@ permissions: {}
|
||||
jobs:
|
||||
Solaris:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
name: Solaris
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
Loading…
x
Reference in New Issue
Block a user