From 7dcb6a52004c5c2f81be3ee32b0a373b582c3875 Mon Sep 17 00:00:00 2001 From: Hannes Diethelm Date: Sun, 28 Jun 2026 13:20:31 +0200 Subject: [PATCH] CI: Set timeouts so it doesn't run forever Timeout set roughly to 3x the normal runtime and some spare. This results in 45...74 min. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 692194cd462..c14721f6de8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: rip-and-test: runs-on: ubuntu-24.04 + timeout-minutes: 45 steps: - name: Dump GitHub context env: @@ -57,6 +58,7 @@ jobs: rip-rtai: runs-on: ubuntu-24.04 + timeout-minutes: 45 steps: - name: Dump GitHub context env: @@ -85,6 +87,7 @@ jobs: rip-and-test-clang: runs-on: ubuntu-24.04 + timeout-minutes: 45 steps: - name: Dump GitHub context env: @@ -118,6 +121,7 @@ jobs: cppcheck: runs-on: ubuntu-24.04 + timeout-minutes: 45 steps: - name: Checkout repository uses: actions/checkout@v6 @@ -136,6 +140,7 @@ jobs: shellcheck: runs-on: ubuntu-24.04 + timeout-minutes: 45 steps: - name: Checkout repository uses: actions/checkout@v6 @@ -155,6 +160,7 @@ jobs: htmldocs: runs-on: ubuntu-24.04 + timeout-minutes: 60 steps: - name: Dump GitHub context env: @@ -198,6 +204,7 @@ jobs: package-arch: runs-on: ${{ matrix.runner }} + timeout-minutes: 75 strategy: matrix: runner: ["ubuntu-24.04", "ubuntu-24.04-arm"] @@ -291,6 +298,7 @@ jobs: package-indep: runs-on: ubuntu-24.04 + timeout-minutes: 75 strategy: matrix: image: ["debian:bookworm", "debian:trixie", "debian:sid"]