Skip to content

Commit

Permalink
cond
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Apr 23, 2024
1 parent e249fd5 commit d647f91
Show file tree
Hide file tree
Showing 19 changed files with 44 additions and 44 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/c2v_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ concurrency:

jobs:
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:
matrix:
os: [ubuntu-20.04, macos-12]
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
WAD_FILE=~/DOOM1.WAD ~/code/doom/build_whole_project.sh
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
timeout-minutes: 20
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cross_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

macos-cross:
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
env:
VFLAGS: -cc clang
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
linux-cross:
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
env:
VFLAGS: -cc tcc -no-retry-compilation
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
windows-cross:
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
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_vc_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
build-vc:
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:
- uses: actions/checkout@v4
- name: Build V
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gg_regressions_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
gg-regressions:
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
env:
VFLAGS: -cc tcc
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/linux_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

tcc-boehm-gc:
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
env:
VFLAGS: -cc tcc -no-retry-compilation
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
gcc:
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
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:

clang:
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
env:
VFLAGS: -cc clang
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
# autofree-selfcompile:
# 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
# env:
# VFLAGS: -cc gcc
Expand All @@ -371,7 +371,7 @@ jobs:

# musl:
# 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
# env:
# VFLAGS: -cc musl-gcc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
clang:
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
env:
VFLAGS: -cc clang
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/module_docs_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
build-module-docs:
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:
- uses: actions/checkout@v4
- name: Build V
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/native_backend_tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
windows-2019
]
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:
- uses: actions/checkout@v4

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/other_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
no-gpl-by-accident:
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
steps:
- uses: actions/checkout@v4
Expand All @@ -29,7 +29,7 @@ jobs:
code-formatting:
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
env:
VFLAGS: -cc gcc
Expand All @@ -46,7 +46,7 @@ jobs:

performance-regressions:
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
env:
VFLAGS: -cc gcc
Expand All @@ -71,7 +71,7 @@ jobs:

misc-tooling:
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
env:
VFLAGS: -cc tcc -no-retry-compilation
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
parser-silent:
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
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/paths_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

space-paths-linux:
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
env:
MY_V_PATH: '你好 my $path, @с интервали'
Expand All @@ -42,7 +42,7 @@ jobs:
space-paths-macos:
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
env:
MY_V_PATH: '你好 my $path, @с интервали'
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
space-paths-windows:
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
env:
MY_V_PATH: 'path with some $punctuation, and some spaces'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/sanitized_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ concurrency:
jobs:
tests-sanitize-undefined-clang:
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
env:
VFLAGS: -cc clang
Expand All @@ -101,7 +101,7 @@ jobs:

tests-sanitize-undefined-gcc:
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
env:
VFLAGS: -cc gcc
Expand All @@ -125,7 +125,7 @@ jobs:

tests-sanitize-address-clang:
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
env:
VFLAGS: -cc clang
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:

tests-sanitize-address-msvc:
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
env:
VFLAGS: -cc msvc
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:

tests-sanitize-address-gcc:
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
env:
VFLAGS: -cc gcc
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:

tests-sanitize-memory-clang:
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
env:
VFLAGS: -cc clang -gc none
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdl_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
v-compiles-sdl-examples:
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
env:
VFLAGS: -cc tcc
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/time_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:

jobs:
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
steps:
- uses: actions/checkout@v4
Expand All @@ -36,7 +36,7 @@ jobs:
run: TZ=Europe/Paris ./v test vlib/time/

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
steps:
- uses: actions/checkout@v4
Expand All @@ -54,7 +54,7 @@ jobs:
run: TZ=Europe/Paris ./v test vlib/time/

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
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/toml_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
toml-module-pass-external-test-suites:
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
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vab_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
vab-compiles-v-examples:
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
env:
VAB_FLAGS: --api 30 --build-tools 29.0.0 -v 3
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
v-compiles-os-android:
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
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vinix_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
vinix-build:
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
env:
VFLAGS: -gc none
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wasm_backend_tests_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ concurrency:
jobs:
wasm-backend-ubuntu:
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
steps:
- uses: actions/checkout@v4
Expand All @@ -69,7 +69,7 @@ jobs:

wasm-backend-macos:
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
steps:
- uses: actions/checkout@v4
Expand All @@ -90,7 +90,7 @@ jobs:

# wasm-backend-windows:
# 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
# steps:
# - uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/websockets_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
websocket_tests:
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
env:
VFLAGS: -cc tcc -no-retry-compilation
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/windows_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:
jobs:
gcc:
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
env:
VFLAGS: -cc gcc
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

msvc:
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
env:
VFLAGS: -cc msvc
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:

tcc:
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
env:
VFLAGS: -cc tcc -no-retry-compilation
Expand Down

0 comments on commit d647f91

Please sign in to comment.