mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: reduce timeout-minutes for CI jobs that are normally fast to help detect anomalies earlier (#25129)
This commit is contained in:
parent
f55c2956fb
commit
54f7c36aca
18 changed files with 28 additions and 20 deletions
2
.github/workflows/bootstrapping_ci.yml
vendored
2
.github/workflows/bootstrapping_ci.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
|||
os: [ubuntu-latest, macos-14]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
VFLAGS: -no-parallel
|
||||
B_LFLAGS: -lm -lpthread
|
||||
|
|
6
.github/workflows/cross_ci.yml
vendored
6
.github/workflows/cross_ci.yml
vendored
|
@ -23,7 +23,7 @@ concurrency:
|
|||
jobs:
|
||||
cross-macos:
|
||||
runs-on: macos-13
|
||||
timeout-minutes: 25
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
VFLAGS: -cc clang
|
||||
steps:
|
||||
|
@ -53,7 +53,7 @@ jobs:
|
|||
|
||||
cross-linux:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 25
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
VFLAGS: -cc tcc -no-retry-compilation
|
||||
steps:
|
||||
|
@ -101,7 +101,7 @@ jobs:
|
|||
|
||||
cross-windows:
|
||||
runs-on: windows-2025
|
||||
timeout-minutes: 25
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Build
|
||||
|
|
2
.github/workflows/docs_ci.yml
vendored
2
.github/workflows/docs_ci.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
|||
uses: actions/checkout@v5
|
||||
with:
|
||||
repository: vlang/v
|
||||
ref: master # important
|
||||
ref: master
|
||||
path: pv
|
||||
|
||||
- name: Check against parent commit
|
||||
|
|
1
.github/workflows/gen_vc_ci.yml
vendored
1
.github/workflows/gen_vc_ci.yml
vendored
|
@ -30,6 +30,7 @@ concurrency:
|
|||
jobs:
|
||||
build-vc:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Build V
|
||||
|
|
2
.github/workflows/gg_regressions_ci.yml
vendored
2
.github/workflows/gg_regressions_ci.yml
vendored
|
@ -23,7 +23,7 @@ concurrency:
|
|||
jobs:
|
||||
gg-regressions:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 20
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
VFLAGS: -cc tcc
|
||||
DISPLAY: :99
|
||||
|
|
1
.github/workflows/module_docs_ci.yml
vendored
1
.github/workflows/module_docs_ci.yml
vendored
|
@ -31,6 +31,7 @@ concurrency:
|
|||
jobs:
|
||||
build-module-docs:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Build V
|
||||
|
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
matrix:
|
||||
os: [ubuntu-latest, macos-14, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 121
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
|
|
8
.github/workflows/other_ci.yml
vendored
8
.github/workflows/other_ci.yml
vendored
|
@ -67,7 +67,7 @@ jobs:
|
|||
|
||||
code-formatting:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
VFLAGS: -cc gcc
|
||||
steps:
|
||||
|
@ -83,7 +83,7 @@ jobs:
|
|||
|
||||
performance-regressions:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
VFLAGS: -cc gcc
|
||||
steps:
|
||||
|
@ -107,7 +107,7 @@ jobs:
|
|||
|
||||
misc-tooling:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 121
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
VFLAGS: -cc tcc -no-retry-compilation
|
||||
steps:
|
||||
|
@ -145,7 +145,7 @@ jobs:
|
|||
|
||||
parser-silent:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 121
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Build local v
|
||||
|
|
2
.github/workflows/paths_ci.yml
vendored
2
.github/workflows/paths_ci.yml
vendored
|
@ -24,7 +24,7 @@ concurrency:
|
|||
jobs:
|
||||
space-paths-linux:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
|
|
1
.github/workflows/riscv64_linux_ci.yml
vendored
1
.github/workflows/riscv64_linux_ci.yml
vendored
|
@ -21,6 +21,7 @@ jobs:
|
|||
riscv64_linux:
|
||||
# The host should always be Linux
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
name: Build on ubuntu-24.04 riscv64
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
|
1
.github/workflows/s390x_linux_ci.yml
vendored
1
.github/workflows/s390x_linux_ci.yml
vendored
|
@ -21,6 +21,7 @@ jobs:
|
|||
s390x_linux:
|
||||
# The host should always be Linux
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 30
|
||||
name: Build on ubuntu-22.04 s390x
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
|
2
.github/workflows/sdl_ci.yml
vendored
2
.github/workflows/sdl_ci.yml
vendored
|
@ -26,7 +26,7 @@ concurrency:
|
|||
jobs:
|
||||
v-compiles-sdl-examples:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
VFLAGS: -cc tcc
|
||||
steps:
|
||||
|
|
2
.github/workflows/termux_ci.yml
vendored
2
.github/workflows/termux_ci.yml
vendored
|
@ -20,7 +20,7 @@ on:
|
|||
jobs:
|
||||
termux-build:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Build and test in Termux
|
||||
|
|
2
.github/workflows/toml_ci.yml
vendored
2
.github/workflows/toml_ci.yml
vendored
|
@ -19,7 +19,7 @@ concurrency:
|
|||
jobs:
|
||||
toml-module-pass-external-test-suites:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Build V
|
||||
|
|
5
.github/workflows/tools_ci.yml
vendored
5
.github/workflows/tools_ci.yml
vendored
|
@ -25,6 +25,7 @@ concurrency:
|
|||
jobs:
|
||||
tools-linux:
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 20
|
||||
strategy:
|
||||
matrix:
|
||||
cc: [tcc, gcc, clang]
|
||||
|
@ -64,6 +65,7 @@ jobs:
|
|||
|
||||
tools-macos:
|
||||
runs-on: macos-14
|
||||
timeout-minutes: 10
|
||||
strategy:
|
||||
matrix:
|
||||
cc: [clang]
|
||||
|
@ -83,6 +85,7 @@ jobs:
|
|||
|
||||
tools-windows:
|
||||
runs-on: windows-2025
|
||||
timeout-minutes: 20
|
||||
strategy:
|
||||
matrix:
|
||||
cc: [tcc, gcc, msvc]
|
||||
|
@ -103,7 +106,7 @@ jobs:
|
|||
|
||||
tools-docker-ubuntu-musl:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 121
|
||||
timeout-minutes: 15
|
||||
container:
|
||||
image: thevlang/vlang:ubuntu-build
|
||||
env:
|
||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
os: [ubuntu-latest, macos-14]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 121
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
|
@ -236,6 +236,7 @@ jobs:
|
|||
os: [ubuntu-24.04, macos-14]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Build V
|
||||
|
|
2
.github/workflows/vab_ci.yml
vendored
2
.github/workflows/vab_ci.yml
vendored
|
@ -24,7 +24,7 @@ concurrency:
|
|||
jobs:
|
||||
vab-compiles-v-examples:
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 121
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
VAB_FLAGS: --api 30 --build-tools 29.0.0 -v 3
|
||||
steps:
|
||||
|
|
4
.github/workflows/vsl_and_vtl_compile_ci.yml
vendored
4
.github/workflows/vsl_and_vtl_compile_ci.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
os: [ubuntu-24.04, macos-14]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 25
|
||||
env:
|
||||
VFLAGS: -no-parallel
|
||||
steps:
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
os: [ubuntu-24.04, macos-14]
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 25
|
||||
env:
|
||||
VFLAGS: -no-parallel
|
||||
# Fixes complaints about $TERM not being set when running the vtl test script
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue