mirror of
https://github.com/vlang/v.git
synced 2025-09-13 01:16:02 -04:00
ci: update detection of workflow cancellation scenarios (#21342)
This commit is contained in:
parent
8dafca126f
commit
28cabf4736
5
.github/workflows/bootstrapping_works_ci.yml
vendored
5
.github/workflows/bootstrapping_works_ci.yml
vendored
@ -10,9 +10,12 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bootstrapping-works:
|
bootstrapping-works:
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-14]
|
os: [ubuntu-latest, macos-14]
|
||||||
|
4
.github/workflows/c2v_ci.yml
vendored
4
.github/workflows/c2v_ci.yml
vendored
@ -19,12 +19,11 @@ on:
|
|||||||
- 'tutorials/**'
|
- 'tutorials/**'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-doom:
|
build-doom:
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-20.04, macos-12]
|
os: [ubuntu-20.04, macos-12]
|
||||||
@ -59,7 +58,6 @@ jobs:
|
|||||||
WAD_FILE=~/DOOM1.WAD ~/code/doom/build_whole_project.sh
|
WAD_FILE=~/DOOM1.WAD ~/code/doom/build_whole_project.sh
|
||||||
|
|
||||||
test-regression:
|
test-regression:
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
env:
|
env:
|
||||||
|
8
.github/workflows/cross_ci.yml
vendored
8
.github/workflows/cross_ci.yml
vendored
@ -12,11 +12,13 @@ on:
|
|||||||
- '**.yml'
|
- '**.yml'
|
||||||
- '!**/cross_ci.yml'
|
- '!**/cross_ci.yml'
|
||||||
|
|
||||||
jobs:
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
macos-cross:
|
macos-cross:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
@ -48,7 +50,6 @@ jobs:
|
|||||||
|
|
||||||
linux-cross:
|
linux-cross:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
@ -97,7 +98,6 @@ jobs:
|
|||||||
|
|
||||||
windows-cross:
|
windows-cross:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
5
.github/workflows/docker_alpine.yml
vendored
5
.github/workflows/docker_alpine.yml
vendored
@ -5,19 +5,20 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "**.yml"
|
- "**.yml"
|
||||||
|
- '!**/docker_alpine.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "**.yml"
|
- "**.yml"
|
||||||
|
- '!**/docker_alpine.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
alpine-docker-musl-gcc:
|
alpine-docker-musl-gcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 241
|
timeout-minutes: 241
|
||||||
container:
|
container:
|
||||||
image: thevlang/vlang:alpine-build
|
image: thevlang/vlang:alpine-build
|
||||||
|
5
.github/workflows/docker_ubuntu.yml
vendored
5
.github/workflows/docker_ubuntu.yml
vendored
@ -5,19 +5,20 @@ on:
|
|||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "**.yml"
|
- "**.yml"
|
||||||
|
- "!**/docker_ubuntu.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "**.yml"
|
- "**.yml"
|
||||||
|
- "!**/docker_ubuntu.yml"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ubuntu-docker-musl:
|
ubuntu-docker-musl:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
container:
|
container:
|
||||||
image: thevlang/vlang:ubuntu-build
|
image: thevlang/vlang:ubuntu-build
|
||||||
|
8
.github/workflows/docs_ci.yml
vendored
8
.github/workflows/docs_ci.yml
vendored
@ -8,14 +8,19 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.yml"
|
- "**.yml"
|
||||||
|
- "!**/docs_ci.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.yml"
|
- "**.yml"
|
||||||
|
- "!**/docs_ci.yml"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-markdown:
|
check-markdown:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -28,7 +33,6 @@ jobs:
|
|||||||
|
|
||||||
report-missing-fn-doc:
|
report-missing-fn-doc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
env:
|
env:
|
||||||
MOPTIONS: --diff --deprecated --relative-paths --exclude /vlib/v/ --exclude /builtin/linux_bare/ --exclude /testdata/ --exclude /tests/
|
MOPTIONS: --diff --deprecated --relative-paths --exclude /vlib/v/ --exclude /builtin/linux_bare/ --exclude /testdata/ --exclude /tests/
|
||||||
|
5
.github/workflows/gen_vc_ci.yml
vendored
5
.github/workflows/gen_vc_ci.yml
vendored
@ -19,13 +19,12 @@ on:
|
|||||||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
||||||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: ${{ !contains(github.ref, 'master')}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-vc:
|
build-vc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
5
.github/workflows/gg_regressions_ci.yml
vendored
5
.github/workflows/gg_regressions_ci.yml
vendored
@ -12,10 +12,13 @@ on:
|
|||||||
- '**.yml'
|
- '**.yml'
|
||||||
- '!**/gg_regressions_ci.yml'
|
- '!**/gg_regressions_ci.yml'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gg-regressions:
|
gg-regressions:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc
|
VFLAGS: -cc tcc
|
||||||
|
6
.github/workflows/linux_ci.yml
vendored
6
.github/workflows/linux_ci.yml
vendored
@ -13,13 +13,12 @@ on:
|
|||||||
- '!**/linux_ci.yml'
|
- '!**/linux_ci.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tcc:
|
tcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
@ -99,7 +98,6 @@ jobs:
|
|||||||
|
|
||||||
tcc-boehm-gc:
|
tcc-boehm-gc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
@ -156,7 +154,6 @@ jobs:
|
|||||||
|
|
||||||
gcc:
|
gcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -262,7 +259,6 @@ jobs:
|
|||||||
|
|
||||||
clang:
|
clang:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
|
3
.github/workflows/macos_ci.yml
vendored
3
.github/workflows/macos_ci.yml
vendored
@ -13,13 +13,12 @@ on:
|
|||||||
- '!**/macos_ci.yml'
|
- '!**/macos_ci.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clang:
|
clang:
|
||||||
runs-on: macOS-12
|
runs-on: macOS-12
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
|
5
.github/workflows/module_docs_ci.yml
vendored
5
.github/workflows/module_docs_ci.yml
vendored
@ -19,13 +19,12 @@ on:
|
|||||||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
||||||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: ${{ !contains(github.ref, 'master')}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-module-docs:
|
build-module-docs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build V
|
- name: Build V
|
||||||
|
@ -43,7 +43,7 @@ on:
|
|||||||
- 'vlib/v/gen/native/tests/**.v'
|
- 'vlib/v/gen/native/tests/**.v'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -56,7 +56,6 @@ jobs:
|
|||||||
windows-2019
|
windows-2019
|
||||||
]
|
]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
7
.github/workflows/other_ci.yml
vendored
7
.github/workflows/other_ci.yml
vendored
@ -13,13 +13,12 @@ on:
|
|||||||
- '!**/other_ci.yml'
|
- '!**/other_ci.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
no-gpl-by-accident:
|
no-gpl-by-accident:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -29,7 +28,6 @@ jobs:
|
|||||||
|
|
||||||
code-formatting:
|
code-formatting:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc gcc
|
VFLAGS: -cc gcc
|
||||||
@ -46,7 +44,6 @@ jobs:
|
|||||||
|
|
||||||
performance-regressions:
|
performance-regressions:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc gcc
|
VFLAGS: -cc gcc
|
||||||
@ -71,7 +68,6 @@ jobs:
|
|||||||
|
|
||||||
misc-tooling:
|
misc-tooling:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
@ -111,7 +107,6 @@ jobs:
|
|||||||
|
|
||||||
parser-silent:
|
parser-silent:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
8
.github/workflows/paths_ci.yml
vendored
8
.github/workflows/paths_ci.yml
vendored
@ -4,19 +4,19 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- '!**/paths_ci.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- "**.md"
|
- "**.md"
|
||||||
|
- '!**/paths_ci.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
space-paths-linux:
|
space-paths-linux:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
MY_V_PATH: '你好 my $path, @с интервали'
|
MY_V_PATH: '你好 my $path, @с интервали'
|
||||||
@ -42,7 +42,6 @@ jobs:
|
|||||||
|
|
||||||
space-paths-macos:
|
space-paths-macos:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
MY_V_PATH: '你好 my $path, @с интервали'
|
MY_V_PATH: '你好 my $path, @с интервали'
|
||||||
@ -71,7 +70,6 @@ jobs:
|
|||||||
|
|
||||||
space-paths-windows:
|
space-paths-windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
MY_V_PATH: 'path with some $punctuation, and some spaces'
|
MY_V_PATH: 'path with some $punctuation, and some spaces'
|
||||||
|
8
.github/workflows/sanitized_ci.yml
vendored
8
.github/workflows/sanitized_ci.yml
vendored
@ -70,13 +70,12 @@ on:
|
|||||||
- 'vlib/v/embed_file/**.v'
|
- 'vlib/v/embed_file/**.v'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests-sanitize-undefined-clang:
|
tests-sanitize-undefined-clang:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 240
|
timeout-minutes: 240
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
@ -101,7 +100,6 @@ jobs:
|
|||||||
|
|
||||||
tests-sanitize-undefined-gcc:
|
tests-sanitize-undefined-gcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 240
|
timeout-minutes: 240
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc gcc
|
VFLAGS: -cc gcc
|
||||||
@ -125,7 +123,6 @@ jobs:
|
|||||||
|
|
||||||
tests-sanitize-address-clang:
|
tests-sanitize-address-clang:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 240
|
timeout-minutes: 240
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
@ -154,7 +151,6 @@ jobs:
|
|||||||
|
|
||||||
tests-sanitize-address-msvc:
|
tests-sanitize-address-msvc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 240
|
timeout-minutes: 240
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc msvc
|
VFLAGS: -cc msvc
|
||||||
@ -183,7 +179,6 @@ jobs:
|
|||||||
|
|
||||||
tests-sanitize-address-gcc:
|
tests-sanitize-address-gcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 240
|
timeout-minutes: 240
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc gcc
|
VFLAGS: -cc gcc
|
||||||
@ -212,7 +207,6 @@ jobs:
|
|||||||
|
|
||||||
tests-sanitize-memory-clang:
|
tests-sanitize-memory-clang:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 240
|
timeout-minutes: 240
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang -gc none
|
VFLAGS: -cc clang -gc none
|
||||||
|
3
.github/workflows/sdl_ci.yml
vendored
3
.github/workflows/sdl_ci.yml
vendored
@ -14,13 +14,12 @@ on:
|
|||||||
- '!**/sdl_ci.yml'
|
- '!**/sdl_ci.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
v-compiles-sdl-examples:
|
v-compiles-sdl-examples:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc
|
VFLAGS: -cc tcc
|
||||||
|
5
.github/workflows/time_ci.yml
vendored
5
.github/workflows/time_ci.yml
vendored
@ -13,12 +13,11 @@ on:
|
|||||||
- '!**/time_ci.yml'
|
- '!**/time_ci.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-time-linux:
|
test-time-linux:
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -36,7 +35,6 @@ jobs:
|
|||||||
run: TZ=Europe/Paris ./v test vlib/time/
|
run: TZ=Europe/Paris ./v test vlib/time/
|
||||||
|
|
||||||
test-time-macos:
|
test-time-macos:
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -54,7 +52,6 @@ jobs:
|
|||||||
run: TZ=Europe/Paris ./v test vlib/time/
|
run: TZ=Europe/Paris ./v test vlib/time/
|
||||||
|
|
||||||
test-time-windows:
|
test-time-windows:
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
5
.github/workflows/toml_ci.yml
vendored
5
.github/workflows/toml_ci.yml
vendored
@ -12,10 +12,13 @@ on:
|
|||||||
- '**.yml'
|
- '**.yml'
|
||||||
- '!**/toml_ci.yml'
|
- '!**/toml_ci.yml'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
toml-module-pass-external-test-suites:
|
toml-module-pass-external-test-suites:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
@ -13,13 +13,12 @@ on:
|
|||||||
- '!**/v_apps_and_modules_compile_ci.yml'
|
- '!**/v_apps_and_modules_compile_ci.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
v-apps-compile:
|
v-apps-compile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -203,7 +202,6 @@ jobs:
|
|||||||
|
|
||||||
vsl-and-vtl-compile:
|
vsl-and-vtl-compile:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -no-parallel
|
VFLAGS: -no-parallel
|
||||||
|
6
.github/workflows/vab_ci.yml
vendored
6
.github/workflows/vab_ci.yml
vendored
@ -13,10 +13,13 @@ on:
|
|||||||
- '**.yml'
|
- '**.yml'
|
||||||
- '!**/vab_ci.yml'
|
- '!**/vab_ci.yml'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
vab-compiles-v-examples:
|
vab-compiles-v-examples:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VAB_FLAGS: --api 30 --build-tools 29.0.0 -v 3
|
VAB_FLAGS: --api 30 --build-tools 29.0.0 -v 3
|
||||||
@ -59,7 +62,6 @@ jobs:
|
|||||||
|
|
||||||
v-compiles-os-android:
|
v-compiles-os-android:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
5
.github/workflows/vinix_ci.yml
vendored
5
.github/workflows/vinix_ci.yml
vendored
@ -13,10 +13,13 @@ on:
|
|||||||
- "**.yml"
|
- "**.yml"
|
||||||
- "!**/vinix_ci.yml"
|
- "!**/vinix_ci.yml"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
vinix-build:
|
vinix-build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
env:
|
env:
|
||||||
VFLAGS: -gc none
|
VFLAGS: -gc none
|
||||||
|
2
.github/workflows/vpm_ci.yml
vendored
2
.github/workflows/vpm_ci.yml
vendored
@ -11,7 +11,7 @@ on:
|
|||||||
- '**/cmd/tools/vpm/**'
|
- '**/cmd/tools/vpm/**'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
5
.github/workflows/wasm_backend_tests_ci.yml
vendored
5
.github/workflows/wasm_backend_tests_ci.yml
vendored
@ -41,13 +41,12 @@ on:
|
|||||||
- 'vlib/v/gen/wasm/tests/**.v'
|
- 'vlib/v/gen/wasm/tests/**.v'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
wasm-backend-ubuntu:
|
wasm-backend-ubuntu:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -69,7 +68,6 @@ jobs:
|
|||||||
|
|
||||||
wasm-backend-macos:
|
wasm-backend-macos:
|
||||||
runs-on: macOS-12
|
runs-on: macOS-12
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -90,7 +88,6 @@ jobs:
|
|||||||
|
|
||||||
# wasm-backend-windows:
|
# wasm-backend-windows:
|
||||||
# runs-on: windows-2022
|
# runs-on: windows-2022
|
||||||
# if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
# timeout-minutes: 121
|
# timeout-minutes: 121
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
|
5
.github/workflows/websockets_ci.yml
vendored
5
.github/workflows/websockets_ci.yml
vendored
@ -12,10 +12,13 @@ on:
|
|||||||
- '**.yml'
|
- '**.yml'
|
||||||
- '!**/websockets_ci.yml'
|
- '!**/websockets_ci.yml'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
websocket_tests:
|
websocket_tests:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
|
5
.github/workflows/windows_ci.yml
vendored
5
.github/workflows/windows_ci.yml
vendored
@ -13,13 +13,12 @@ on:
|
|||||||
- '!**/windows_ci.yml'
|
- '!**/windows_ci.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gcc:
|
gcc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 271
|
timeout-minutes: 271
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc gcc
|
VFLAGS: -cc gcc
|
||||||
@ -71,7 +70,6 @@ jobs:
|
|||||||
|
|
||||||
msvc:
|
msvc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 271
|
timeout-minutes: 271
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc msvc
|
VFLAGS: -cc msvc
|
||||||
@ -117,7 +115,6 @@ jobs:
|
|||||||
|
|
||||||
tcc:
|
tcc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
|
||||||
timeout-minutes: 181
|
timeout-minutes: 181
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc -no-retry-compilation
|
VFLAGS: -cc tcc -no-retry-compilation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user