Added Custom Timeout to CI (#2189)

* Added Custom Timeout to CI

Signed-off-by: Konstantinos <konstantinos.kitsios@uzh.ch>

* remove unnecessary comment

Signed-off-by: Konstantinos <konstantinos.kitsios@uzh.ch>

* Use correct syntax for timeout in jobs that span multiple files

Signed-off-by: Konstantinos <konstantinos.kitsios@uzh.ch>

---------

Signed-off-by: Konstantinos <konstantinos.kitsios@uzh.ch>
This commit is contained in:
Kitsios Konstantinos 2025-07-15 03:54:43 +03:00 committed by GitHub
parent d39268b204
commit 6cc048ae6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View File

@ -118,6 +118,8 @@ jobs:
CMAKE_ARGS: -DOQS_USE_SHA3_AVX512VL=OFF
PYTEST_ARGS: --ignore=tests/test_leaks.py --ignore=tests/test_kat_all.py
runs-on: ${{ matrix.runner }}
timeout-minutes: 85 # max + 3*std over the last thousands of successful runs
container:
image: ${{ matrix.container }}
steps:
@ -154,6 +156,7 @@ jobs:
linux_arm_emulated:
runs-on: ubuntu-latest
timeout-minutes: 85 # max + 3*std over the last thousands of successful runs
strategy:
fail-fast: false
matrix:

View File

@ -42,6 +42,7 @@ jobs:
libjade-build: -DOQS_LIBJADE_BUILD=OFF
runs-on: ${{ matrix.os }}
timeout-minutes: 85 # max + 3*std over the last thousands of successful runs
steps:
- name: Install Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # pin@v5

View File

@ -4,7 +4,6 @@ permissions:
contents: read
on: [workflow_call, workflow_dispatch]
jobs:
windows-arm64:
@ -13,6 +12,7 @@ jobs:
runner: [windows-2022, windows-2025]
stfl_opt: [ON, OFF]
runs-on: ${{ matrix.runner }}
timeout-minutes: 85 # max + 3*std over the last thousands of successful runs
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # pin@v3
- name: Generate Project
@ -28,6 +28,7 @@ jobs:
toolchain: [.CMake/toolchain_windows_x86.cmake, .CMake/toolchain_windows_amd64.cmake]
stfl_opt: [ON, OFF]
runs-on: ${{ matrix.runner }}
timeout-minutes: 85 # max + 3*std over the last thousands of successful runs
steps:
- name: Install Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # pin@v5