mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: bump retry time from 10 to 15 minutes (reduce false positives for slow dependency installations on the CI)
This commit is contained in:
parent
e89839c845
commit
2b0af31bf9
19 changed files with 23 additions and 23 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]
|
os: [ubuntu-latest, macos-14]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VFLAGS: -no-parallel
|
VFLAGS: -no-parallel
|
||||||
B_LFLAGS: -lm -lpthread
|
B_LFLAGS: -lm -lpthread
|
||||||
|
|
2
.github/workflows/c2v_ci.yml
vendored
2
.github/workflows/c2v_ci.yml
vendored
|
@ -29,7 +29,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build-doom:
|
build-doom:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 20
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
|
6
.github/workflows/cross_ci.yml
vendored
6
.github/workflows/cross_ci.yml
vendored
|
@ -23,7 +23,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
cross-macos:
|
cross-macos:
|
||||||
runs-on: macos-13
|
runs-on: macos-13
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
steps:
|
steps:
|
||||||
|
@ -53,7 +53,7 @@ jobs:
|
||||||
|
|
||||||
cross-linux:
|
cross-linux:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
steps:
|
steps:
|
||||||
|
@ -102,7 +102,7 @@ jobs:
|
||||||
|
|
||||||
cross-windows:
|
cross-windows:
|
||||||
runs-on: windows-2025
|
runs-on: windows-2025
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
4
.github/workflows/docs_ci.yml
vendored
4
.github/workflows/docs_ci.yml
vendored
|
@ -23,7 +23,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
check-markdown:
|
check-markdown:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
@ -59,7 +59,7 @@ jobs:
|
||||||
|
|
||||||
report-missing-dots-in-doc-comments:
|
report-missing-dots-in-doc-comments:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
|
2
.github/workflows/gen_vc_ci.yml
vendored
2
.github/workflows/gen_vc_ci.yml
vendored
|
@ -30,7 +30,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build-vc:
|
build-vc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build V
|
- 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:
|
jobs:
|
||||||
gg-regressions:
|
gg-regressions:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc
|
VFLAGS: -cc tcc
|
||||||
DISPLAY: :99
|
DISPLAY: :99
|
||||||
|
|
2
.github/workflows/module_docs_ci.yml
vendored
2
.github/workflows/module_docs_ci.yml
vendored
|
@ -31,7 +31,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build-module-docs:
|
build-module-docs:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-14, windows-latest]
|
os: [ubuntu-latest, macos-14, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
|
|
4
.github/workflows/other_ci.yml
vendored
4
.github/workflows/other_ci.yml
vendored
|
@ -67,7 +67,7 @@ jobs:
|
||||||
|
|
||||||
code-formatting:
|
code-formatting:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc gcc
|
VFLAGS: -cc gcc
|
||||||
steps:
|
steps:
|
||||||
|
@ -107,7 +107,7 @@ jobs:
|
||||||
|
|
||||||
misc-tooling:
|
misc-tooling:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
steps:
|
steps:
|
||||||
|
|
2
.github/workflows/paths_ci.yml
vendored
2
.github/workflows/paths_ci.yml
vendored
|
@ -24,7 +24,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
space-paths-linux:
|
space-paths-linux:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
|
|
2
.github/workflows/sdl_ci.yml
vendored
2
.github/workflows/sdl_ci.yml
vendored
|
@ -26,7 +26,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
v-compiles-sdl-examples:
|
v-compiles-sdl-examples:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc
|
VFLAGS: -cc tcc
|
||||||
steps:
|
steps:
|
||||||
|
|
2
.github/workflows/toml_ci.yml
vendored
2
.github/workflows/toml_ci.yml
vendored
|
@ -19,7 +19,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
toml-module-pass-external-test-suites:
|
toml-module-pass-external-test-suites:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
|
2
.github/workflows/tools_ci.yml
vendored
2
.github/workflows/tools_ci.yml
vendored
|
@ -65,7 +65,7 @@ jobs:
|
||||||
|
|
||||||
tools-macos:
|
tools-macos:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
cc: [clang]
|
cc: [clang]
|
||||||
|
|
|
@ -237,7 +237,7 @@ jobs:
|
||||||
os: [ubuntu-24.04, macos-14]
|
os: [ubuntu-24.04, macos-14]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
|
2
.github/workflows/vab_ci.yml
vendored
2
.github/workflows/vab_ci.yml
vendored
|
@ -24,7 +24,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
vab-compiles-v-examples:
|
vab-compiles-v-examples:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VAB_FLAGS: --api 30 --build-tools 29.0.0 -v 3
|
VAB_FLAGS: --api 30 --build-tools 29.0.0 -v 3
|
||||||
steps:
|
steps:
|
||||||
|
|
2
.github/workflows/vinix_ci.yml
vendored
2
.github/workflows/vinix_ci.yml
vendored
|
@ -24,7 +24,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
vinix-build:
|
vinix-build:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
|
2
.github/workflows/vup_works.yml
vendored
2
.github/workflows/vup_works.yml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
- os: macos-14
|
- os: macos-14
|
||||||
zip: v_macos_arm64.zip
|
zip: v_macos_arm64.zip
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VDIR: /tmp/v_from_release_zip
|
VDIR: /tmp/v_from_release_zip
|
||||||
steps:
|
steps:
|
||||||
|
|
2
.github/workflows/wasm_backend_ci.yml
vendored
2
.github/workflows/wasm_backend_ci.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-22.04, windows-2022]
|
os: [ubuntu-22.04, windows-2022]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
timeout-minutes: 10
|
timeout-minutes: 15
|
||||||
env:
|
env:
|
||||||
VTEST_ONLY: wasm
|
VTEST_ONLY: wasm
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -22,7 +22,7 @@ fn main() {
|
||||||
fp.skip_executable()
|
fp.skip_executable()
|
||||||
fp.limit_free_args_to_at_least(1)!
|
fp.limit_free_args_to_at_least(1)!
|
||||||
context.show_help = fp.bool('help', `h`, false, 'Show this help screen.')
|
context.show_help = fp.bool('help', `h`, false, 'Show this help screen.')
|
||||||
context.timeout = fp.float('timeout', `t`, 600.0, 'Timeout in seconds (for all retries). Default: 600.0 seconds (10 minutes).') * time.second
|
context.timeout = fp.float('timeout', `t`, 900.0, 'Timeout in seconds (for all retries). Default: 900.0 seconds (15 minutes).') * time.second
|
||||||
context.delay = fp.float('delay', `d`, 1.0, 'Delay between each retry in seconds. Default: 1.0 second.') * time.second
|
context.delay = fp.float('delay', `d`, 1.0, 'Delay between each retry in seconds. Default: 1.0 second.') * time.second
|
||||||
context.retries = fp.int('retries', `r`, 10, 'Maximum number of retries. Default: 10.')
|
context.retries = fp.int('retries', `r`, 10, 'Maximum number of retries. Default: 10.')
|
||||||
if context.show_help {
|
if context.show_help {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue