mirror of
https://github.com/vlang/v.git
synced 2025-09-18 11:56:57 -04:00
ci: update workflow conditions (#21338)
This commit is contained in:
parent
9ed33718f3
commit
0a14bef008
5
.github/workflows/bootstrapping_works_ci.yml
vendored
5
.github/workflows/bootstrapping_works_ci.yml
vendored
@ -12,10 +12,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bootstrapping-works:
|
bootstrapping-works:
|
||||||
if: >
|
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
github.event_name != 'push'
|
|
||||||
|| github.event.ref == 'refs/heads/master'
|
|
||||||
|| github.event.repository.full_name != '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
@ -24,7 +24,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-doom:
|
build-doom:
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +59,7 @@ 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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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:
|
||||||
|
6
.github/workflows/cross_ci.yml
vendored
6
.github/workflows/cross_ci.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
macos-cross:
|
macos-cross:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +48,7 @@ jobs:
|
|||||||
|
|
||||||
linux-cross:
|
linux-cross:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +97,7 @@ jobs:
|
|||||||
|
|
||||||
windows-cross:
|
windows-cross:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
@ -17,10 +17,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
alpine-docker-musl-gcc:
|
alpine-docker-musl-gcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: >
|
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
github.event_name != 'push'
|
|
||||||
|| github.event.ref == 'refs/heads/master'
|
|
||||||
|| github.event.repository.full_name != '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
@ -17,10 +17,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
ubuntu-docker-musl:
|
ubuntu-docker-musl:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: >
|
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
github.event_name != 'push'
|
|
||||||
|| github.event.ref == 'refs/heads/master'
|
|
||||||
|| github.event.repository.full_name != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
container:
|
container:
|
||||||
image: thevlang/vlang:ubuntu-build
|
image: thevlang/vlang:ubuntu-build
|
||||||
|
10
.github/workflows/docs_ci.yml
vendored
10
.github/workflows/docs_ci.yml
vendored
@ -15,10 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
check-markdown:
|
check-markdown:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: >
|
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
github.event_name != 'push'
|
|
||||||
|| github.event.ref == 'refs/heads/master'
|
|
||||||
|| github.event.repository.full_name != 'vlang/v'
|
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -31,10 +28,7 @@ jobs:
|
|||||||
|
|
||||||
report-missing-fn-doc:
|
report-missing-fn-doc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: >
|
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
github.event_name != 'push'
|
|
||||||
|| github.event.ref == 'refs/heads/master'
|
|
||||||
|| github.event.repository.full_name != '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/
|
||||||
|
4
.github/workflows/gen_vc_ci.yml
vendored
4
.github/workflows/gen_vc_ci.yml
vendored
@ -25,7 +25,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build-vc:
|
build-vc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
@ -62,5 +62,5 @@ jobs:
|
|||||||
git -C vc log -3
|
git -C vc log -3
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: github.event.repository.full_name == 'vlang/v' && github.event_name == 'push' && github.event.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.repository == 'vlang/v' && github.ref == 'refs/heads/master'
|
||||||
run: git -C vc push || true
|
run: git -C vc push || true
|
||||||
|
2
.github/workflows/gg_regressions_ci.yml
vendored
2
.github/workflows/gg_regressions_ci.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
gg-regressions:
|
gg-regressions:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
12
.github/workflows/linux_ci.yml
vendored
12
.github/workflows/linux_ci.yml
vendored
@ -19,7 +19,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
tcc:
|
tcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +99,7 @@ jobs:
|
|||||||
|
|
||||||
tcc-boehm-gc:
|
tcc-boehm-gc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +156,7 @@ jobs:
|
|||||||
|
|
||||||
gcc:
|
gcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +262,7 @@ jobs:
|
|||||||
|
|
||||||
clang:
|
clang:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
@ -352,7 +352,7 @@ jobs:
|
|||||||
|
|
||||||
# autofree-selfcompile:
|
# autofree-selfcompile:
|
||||||
# runs-on: ubuntu-20.04
|
# runs-on: ubuntu-20.04
|
||||||
# if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
# if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
# timeout-minutes: 121
|
# timeout-minutes: 121
|
||||||
# env:
|
# env:
|
||||||
# VFLAGS: -cc gcc
|
# VFLAGS: -cc gcc
|
||||||
@ -365,7 +365,7 @@ jobs:
|
|||||||
|
|
||||||
# musl:
|
# musl:
|
||||||
# runs-on: ubuntu-20.04
|
# runs-on: ubuntu-20.04
|
||||||
# if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
# if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
# timeout-minutes: 121
|
# timeout-minutes: 121
|
||||||
# env:
|
# env:
|
||||||
# VFLAGS: -cc musl-gcc
|
# VFLAGS: -cc musl-gcc
|
||||||
|
2
.github/workflows/macos_ci.yml
vendored
2
.github/workflows/macos_ci.yml
vendored
@ -19,7 +19,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
clang:
|
clang:
|
||||||
runs-on: macOS-12
|
runs-on: macOS-12
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
4
.github/workflows/module_docs_ci.yml
vendored
4
.github/workflows/module_docs_ci.yml
vendored
@ -25,7 +25,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build-module-docs:
|
build-module-docs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
@ -39,5 +39,5 @@ jobs:
|
|||||||
- name: Build module documentation
|
- name: Build module documentation
|
||||||
run: ./v doc -m -f html vlib/
|
run: ./v doc -m -f html vlib/
|
||||||
- name: Deploy docs to vercel
|
- name: Deploy docs to vercel
|
||||||
if: github.event.repository.full_name == 'vlang/v' && github.event_name == 'push' && github.event.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.repository == 'vlang/v' && github.ref == 'refs/heads/master'
|
||||||
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true
|
run: npx vercel --confirm --prod --name vmodules --token ${{ secrets.VERCEL_TOKEN }} vlib/_docs/ || true
|
||||||
|
@ -56,7 +56,7 @@ jobs:
|
|||||||
windows-2019
|
windows-2019
|
||||||
]
|
]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
10
.github/workflows/other_ci.yml
vendored
10
.github/workflows/other_ci.yml
vendored
@ -19,7 +19,7 @@ concurrency:
|
|||||||
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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +29,7 @@ jobs:
|
|||||||
|
|
||||||
code-formatting:
|
code-formatting:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +46,7 @@ jobs:
|
|||||||
|
|
||||||
performance-regressions:
|
performance-regressions:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +71,7 @@ jobs:
|
|||||||
|
|
||||||
misc-tooling:
|
misc-tooling:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +111,7 @@ jobs:
|
|||||||
|
|
||||||
parser-silent:
|
parser-silent:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
6
.github/workflows/paths_ci.yml
vendored
6
.github/workflows/paths_ci.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
space-paths-linux:
|
space-paths-linux:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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,7 @@ jobs:
|
|||||||
|
|
||||||
space-paths-macos:
|
space-paths-macos:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +71,7 @@ jobs:
|
|||||||
|
|
||||||
space-paths-windows:
|
space-paths-windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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'
|
||||||
|
7
.github/workflows/periodic_ci.yml
vendored
7
.github/workflows/periodic_ci.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
network-tests-ubuntu:
|
network-tests-ubuntu:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
|
if: github.ref == 'refs/heads/master' && github.repository == 'vlang/v'
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
V_CI_PERIODIC: 1
|
V_CI_PERIODIC: 1
|
||||||
@ -22,10 +22,9 @@ jobs:
|
|||||||
## - name: Run network tests
|
## - name: Run network tests
|
||||||
## run: ./v -d network test vlib/net
|
## run: ./v -d network test vlib/net
|
||||||
|
|
||||||
|
|
||||||
network-tests-macos:
|
network-tests-macos:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
|
if: github.ref == 'refs/heads/master' && github.repository == 'vlang/v'
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
V_CI_PERIODIC: 1
|
V_CI_PERIODIC: 1
|
||||||
@ -42,7 +41,7 @@ jobs:
|
|||||||
|
|
||||||
network-windows-msvc:
|
network-windows-msvc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event.ref == 'refs/heads/master' && github.event.repository.full_name == 'vlang/v'
|
if: github.ref == 'refs/heads/master' && github.repository == 'vlang/v'
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
V_CI_PERIODIC: 1
|
V_CI_PERIODIC: 1
|
||||||
|
12
.github/workflows/sanitized_ci.yml
vendored
12
.github/workflows/sanitized_ci.yml
vendored
@ -76,7 +76,7 @@ concurrency:
|
|||||||
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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +101,7 @@ 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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +125,7 @@ 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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +154,7 @@ jobs:
|
|||||||
|
|
||||||
tests-sanitize-address-msvc:
|
tests-sanitize-address-msvc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +183,7 @@ 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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +212,7 @@ 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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
2
.github/workflows/sdl_ci.yml
vendored
2
.github/workflows/sdl_ci.yml
vendored
@ -20,7 +20,7 @@ concurrency:
|
|||||||
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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
6
.github/workflows/time_ci.yml
vendored
6
.github/workflows/time_ci.yml
vendored
@ -18,7 +18,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-time-linux:
|
test-time-linux:
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +36,7 @@ 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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +54,7 @@ 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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
2
.github/workflows/toml_ci.yml
vendored
2
.github/workflows/toml_ci.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
@ -19,10 +19,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
v-apps-compile:
|
v-apps-compile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
github.event_name != 'push'
|
|
||||||
|| github.event.ref == 'refs/heads/master'
|
|
||||||
|| github.event.repository.full_name != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -206,10 +203,7 @@ jobs:
|
|||||||
|
|
||||||
vsl-and-vtl-compile:
|
vsl-and-vtl-compile:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: >
|
if: github.event_name != 'push' || github.ref == 'refs/heads/master' || github.repository != 'vlang/v'
|
||||||
github.event_name != 'push'
|
|
||||||
|| github.event.ref == 'refs/heads/master'
|
|
||||||
|| github.event.repository.full_name != 'vlang/v'
|
|
||||||
timeout-minutes: 121
|
timeout-minutes: 121
|
||||||
env:
|
env:
|
||||||
VFLAGS: -no-parallel
|
VFLAGS: -no-parallel
|
||||||
|
4
.github/workflows/vab_ci.yml
vendored
4
.github/workflows/vab_ci.yml
vendored
@ -16,7 +16,7 @@ on:
|
|||||||
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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +59,7 @@ 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.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
2
.github/workflows/vinix_ci.yml
vendored
2
.github/workflows/vinix_ci.yml
vendored
@ -16,7 +16,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
vinix-build:
|
vinix-build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
6
.github/workflows/wasm_backend_tests_ci.yml
vendored
6
.github/workflows/wasm_backend_tests_ci.yml
vendored
@ -47,7 +47,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
wasm-backend-ubuntu:
|
wasm-backend-ubuntu:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +69,7 @@ jobs:
|
|||||||
|
|
||||||
wasm-backend-macos:
|
wasm-backend-macos:
|
||||||
runs-on: macOS-12
|
runs-on: macOS-12
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +90,7 @@ jobs:
|
|||||||
|
|
||||||
# wasm-backend-windows:
|
# wasm-backend-windows:
|
||||||
# runs-on: windows-2022
|
# runs-on: windows-2022
|
||||||
# if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
# 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
|
||||||
|
2
.github/workflows/websockets_ci.yml
vendored
2
.github/workflows/websockets_ci.yml
vendored
@ -15,7 +15,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
websocket_tests:
|
websocket_tests:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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
|
||||||
|
6
.github/workflows/windows_ci.yml
vendored
6
.github/workflows/windows_ci.yml
vendored
@ -19,7 +19,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
gcc:
|
gcc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +71,7 @@ jobs:
|
|||||||
|
|
||||||
msvc:
|
msvc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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 +117,7 @@ jobs:
|
|||||||
|
|
||||||
tcc:
|
tcc:
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v'
|
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