mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: restore .github/workflows/ to its state at cee7856
, when all checks were done
This commit is contained in:
parent
dd6629e932
commit
3a09ccc80a
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: Code CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
concurrency:
|
||||
group: build-ci-${{ github.event.pull_request.number || github.sha }}
|
||||
@ -31,6 +33,7 @@ jobs:
|
||||
run: |
|
||||
echo $VFLAGS
|
||||
make
|
||||
./v test-cleancode
|
||||
./v -d debug_malloc -d debug_realloc -o v cmd/v
|
||||
./v -cg -cstrict -o v cmd/v
|
||||
# Test v -realloc arena allocation
|
||||
|
10
.github/workflows/ci_bootstrapping_works.yml
vendored
10
.github/workflows/ci_bootstrapping_works.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: Bootstraping works
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
ubuntu:
|
||||
|
10
.github/workflows/ci_cross.yml
vendored
10
.github/workflows/ci_cross.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: Cross CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
|
||||
|
87
.github/workflows/ci_sanitized.yml
vendored
87
.github/workflows/ci_sanitized.yml
vendored
@ -13,7 +13,6 @@ name: Sanitized CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- '!**'
|
||||
- 'cmd/tools/vtest*'
|
||||
@ -73,22 +72,7 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
code-formatting-before-regression:
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Environment info
|
||||
run: echo $VFLAGS $GITHUB_SHA $GITHUB_REF
|
||||
- name: Build local v
|
||||
run: make
|
||||
- name: v test-cleancode
|
||||
run: ./v test-cleancode
|
||||
- name: v test-fmt
|
||||
run: ./v test-fmt
|
||||
|
||||
tests-sanitize-undefined-clang:
|
||||
needs: [code-formatting-before-regression]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
@ -107,19 +91,13 @@ jobs:
|
||||
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
|
||||
sudo apt-get install clang
|
||||
- name: Build V
|
||||
run: |
|
||||
make
|
||||
./v -cg -cstrict -o v cmd/v
|
||||
run: make -j4 && ./v -cg -cstrict -o v cmd/v && ./v test-cleancode
|
||||
- name: Self tests (-fsanitize=undefined)
|
||||
run: |
|
||||
./v -cflags "-fsanitize=undefined" -o v2 cmd/v
|
||||
./v2 -cflags -fsanitize=undefined test-self
|
||||
run: ./v -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-self
|
||||
- name: Build examples (V compiled with -fsanitize=undefined)
|
||||
run: |
|
||||
./v2 build-examples
|
||||
run: ./v2 build-examples
|
||||
|
||||
tests-sanitize-undefined-gcc:
|
||||
needs: [code-formatting-before-regression]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
@ -137,19 +115,13 @@ jobs:
|
||||
sudo apt-get install --quiet -y postgresql libpq-dev libssl-dev sqlite3 libsqlite3-dev valgrind
|
||||
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
|
||||
- name: Build V
|
||||
run: |
|
||||
make
|
||||
./v -cg -cstrict -o v cmd/v
|
||||
run: make -j4 && ./v -cg -cstrict -o v cmd/v && ./v test-cleancode
|
||||
- name: Self tests (-fsanitize=undefined)
|
||||
run: |
|
||||
./v -cflags -fsanitize=undefined -o v2 cmd/v
|
||||
./v2 -cflags -fsanitize=undefined test-self
|
||||
run: ./v -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-self
|
||||
- name: Build examples (V compiled with -fsanitize=undefined)
|
||||
run: |
|
||||
./v2 build-examples
|
||||
run: ./v2 build-examples
|
||||
|
||||
tests-sanitize-address-clang:
|
||||
needs: [code-formatting-before-regression]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
@ -168,22 +140,17 @@ jobs:
|
||||
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
|
||||
sudo apt-get install clang
|
||||
- name: Build V
|
||||
run: |
|
||||
make
|
||||
./v -cg -cstrict -o v cmd/v
|
||||
run: make -j4 && ./v -cg -cstrict -o v cmd/v && ./v test-cleancode
|
||||
- name: Self tests (-fsanitize=address)
|
||||
run: |
|
||||
ASAN_OPTIONS=detect_leaks=0 ./v -cflags "-fsanitize=address,pointer-compare,pointer-subtract" test-self
|
||||
run: ASAN_OPTIONS=detect_leaks=0 ./v -cflags "-fsanitize=address,pointer-compare,pointer-subtract" test-self
|
||||
- name: Self tests (V compiled with -fsanitize=address)
|
||||
run: |
|
||||
./v -cflags -fsanitize=address -o v cmd/v
|
||||
run:
|
||||
./v -cflags -fsanitize=address -o v cmd/v &&
|
||||
ASAN_OPTIONS=detect_leaks=0 ./v -cc tcc test-self -asan-compiler
|
||||
- name: Build examples (V compiled with -fsanitize=address)
|
||||
run: |
|
||||
ASAN_OPTIONS=detect_leaks=0 ./v build-examples
|
||||
run: ASAN_OPTIONS=detect_leaks=0 ./v build-examples
|
||||
|
||||
tests-sanitize-address-msvc:
|
||||
needs: [code-formatting-before-regression]
|
||||
runs-on: windows-2019
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
@ -201,6 +168,7 @@ jobs:
|
||||
echo $VFLAGS
|
||||
.\make.bat -msvc
|
||||
.\v.exe self
|
||||
.\v.exe test-cleancode
|
||||
## - name: Install dependencies
|
||||
## run: |
|
||||
## .\v.exe setup-freetype
|
||||
@ -210,7 +178,6 @@ jobs:
|
||||
## .\v.exe -cflags "/fsanitize=address" test-self
|
||||
|
||||
tests-sanitize-address-gcc:
|
||||
needs: [code-formatting-before-regression]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
@ -229,22 +196,17 @@ jobs:
|
||||
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
|
||||
sudo apt-get install clang
|
||||
- name: Build V
|
||||
run: |
|
||||
make
|
||||
./v -cg -cstrict -o v cmd/v
|
||||
run: make -j4 && ./v -cg -cstrict -o v cmd/v && ./v test-cleancode
|
||||
- name: Self tests (-fsanitize=address)
|
||||
run: |
|
||||
ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-self
|
||||
run: ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-self
|
||||
- name: Self tests (V compiled with -fsanitize=address)
|
||||
run: |
|
||||
./v -cflags -fsanitize=address,pointer-compare,pointer-subtract -o v cmd/v
|
||||
run:
|
||||
./v -cflags -fsanitize=address,pointer-compare,pointer-subtract -o v cmd/v &&
|
||||
ASAN_OPTIONS=detect_leaks=0 ./v -cc tcc test-self -asan-compiler
|
||||
- name: Build examples (V compiled with -fsanitize=address)
|
||||
run: |
|
||||
ASAN_OPTIONS=detect_leaks=0 ./v build-examples
|
||||
run: ASAN_OPTIONS=detect_leaks=0 ./v build-examples
|
||||
|
||||
tests-sanitize-memory-clang:
|
||||
needs: [code-formatting-before-regression]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
@ -263,16 +225,11 @@ jobs:
|
||||
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
|
||||
sudo apt-get install clang
|
||||
- name: Build V
|
||||
run: |
|
||||
make
|
||||
./v -cc clang -cg -cstrict -o v cmd/v
|
||||
run: make -j4 && ./v -cc clang -cg -cstrict -o v cmd/v && ./v test-cleancode
|
||||
- name: Self tests (-fsanitize=memory)
|
||||
run: |
|
||||
./v -cflags -fsanitize=memory test-self
|
||||
run: ./v -cflags -fsanitize=memory test-self
|
||||
- name: Self tests (V compiled with -fsanitize=memory)
|
||||
run: |
|
||||
./v -cflags -fsanitize=memory -o v cmd/v
|
||||
./v -cc tcc test-self -msan-compiler
|
||||
run:
|
||||
./v -cflags -fsanitize=memory -o v cmd/v && ./v -cc tcc test-self -msan-compiler
|
||||
- name: Build examples (V compiled with -fsanitize=memory)
|
||||
run: |
|
||||
./v build-examples
|
||||
run: ./v build-examples
|
||||
|
10
.github/workflows/ci_v_benchmark.yml
vendored
10
.github/workflows/ci_v_benchmark.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: vlang benchmarks
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
run:
|
||||
|
10
.github/workflows/containers_ci.yml
vendored
10
.github/workflows/containers_ci.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: Containers CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
concurrency:
|
||||
group: build-containers-${{ github.event.pull_request.number || github.sha }}
|
||||
|
6
.github/workflows/docs_ci.yml
vendored
6
.github/workflows/docs_ci.yml
vendored
@ -2,11 +2,7 @@ name: Docs CI
|
||||
|
||||
### Run on *EVERY* commit. The documentation *SHOULD* stay valid, and
|
||||
### the developers should receive early warning if they break it.
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
check-markdown:
|
||||
|
10
.github/workflows/gfx_ci.yml
vendored
10
.github/workflows/gfx_ci.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: Graphics CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
gg-regressions:
|
||||
|
6
.github/workflows/other_ci.yml
vendored
6
.github/workflows/other_ci.yml
vendored
@ -2,8 +2,6 @@ name: Other CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
@ -16,7 +14,6 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
no-gpl-by-accident:
|
||||
needs: [code-formatting]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
@ -42,7 +39,6 @@ jobs:
|
||||
run: ./v test-fmt
|
||||
|
||||
performance-regressions:
|
||||
needs: [code-formatting]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 15
|
||||
env:
|
||||
@ -67,7 +63,6 @@ jobs:
|
||||
run: cmd/tools/repeat --max_time 1501 --series 3 --count 20 --nmins 2 --nmaxs 5 --warmup 3 --fail_percent 10 -t 'cd {T} ; ./v -show-timings -o v.c cmd/v' . ./vmaster
|
||||
|
||||
misc-tooling:
|
||||
needs: [code-formatting]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
@ -116,7 +111,6 @@ jobs:
|
||||
./v should-compile-all examples/sokol/*.v examples/sokol/0?*/*.v
|
||||
|
||||
parser-silent:
|
||||
needs: [code-formatting]
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
steps:
|
||||
|
10
.github/workflows/paths_ci.yml
vendored
10
.github/workflows/paths_ci.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: Path Testing CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
concurrency:
|
||||
group: build-paths-${{ github.event.pull_request.number || github.sha }}
|
||||
|
10
.github/workflows/sdl_ci.yml
vendored
10
.github/workflows/sdl_ci.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: sdl CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
v-compiles-sdl-examples:
|
||||
|
10
.github/workflows/toml_ci.yml
vendored
10
.github/workflows/toml_ci.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: toml CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
toml-module-pass-external-test-suites:
|
||||
|
10
.github/workflows/v_apps_and_modules_compile.yml
vendored
10
.github/workflows/v_apps_and_modules_compile.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: V Apps and Modules
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
concurrency:
|
||||
group: build-other-${{ github.event.pull_request.number || github.sha }}
|
||||
|
10
.github/workflows/vab_ci.yml
vendored
10
.github/workflows/vab_ci.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: vab CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
vab-compiles-v-examples:
|
||||
|
12
.github/workflows/vinix-kernel.yml
vendored
12
.github/workflows/vinix-kernel.yml
vendored
@ -1,10 +1,14 @@
|
||||
name: Build Vinix kernel
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
vinix-build:
|
||||
|
10
.github/workflows/websockets.yml
vendored
10
.github/workflows/websockets.yml
vendored
@ -1,10 +1,12 @@
|
||||
name: Websockets CI
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Other CI"]
|
||||
types:
|
||||
- completed
|
||||
push:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
websocket_tests:
|
||||
|
Loading…
Reference in New Issue
Block a user