ci: use concurrency.cancel-in-progress
parent
88435eb769
commit
794bdfdca7
|
@ -8,15 +8,12 @@ on:
|
|||
paths-ignore:
|
||||
- "**.md"
|
||||
|
||||
jobs:
|
||||
no-scheduling:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Dont schedule all jobs
|
||||
run: sleep 10
|
||||
concurrency:
|
||||
group: build-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
code-formatting-perf-regressions:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 15
|
||||
env:
|
||||
|
@ -47,7 +44,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
|
||||
|
||||
ubuntu-tcc:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
|
@ -115,7 +111,6 @@ jobs:
|
|||
run: cd cmd/tools/fast && ../../../v fast.v && ./fast
|
||||
|
||||
ubuntu-tcc-boehm-gc:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
|
@ -170,7 +165,6 @@ jobs:
|
|||
[ "$(stat -c %s leaks.txt)" = "0" ]
|
||||
|
||||
misc-tooling:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
|
@ -223,7 +217,6 @@ jobs:
|
|||
|
||||
|
||||
alpine-docker-musl-gcc:
|
||||
needs: no-scheduling
|
||||
name: alpine-musl
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
|
@ -255,7 +248,6 @@ jobs:
|
|||
run: ./v -silent test-self
|
||||
|
||||
macos:
|
||||
needs: no-scheduling
|
||||
runs-on: macOS-latest
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
|
@ -346,7 +338,6 @@ jobs:
|
|||
## ../v run examples/build_examples.vsh
|
||||
|
||||
ubuntu:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
steps:
|
||||
|
@ -442,7 +433,6 @@ jobs:
|
|||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
ubuntu-clang:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
|
@ -538,7 +528,6 @@ jobs:
|
|||
|
||||
# Ubuntu docker pre-built container
|
||||
ubuntu-musl:
|
||||
needs: no-scheduling
|
||||
name: ubuntu-musl
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
|
@ -591,7 +580,6 @@ jobs:
|
|||
# run: ./v -silent test-self
|
||||
|
||||
windows-gcc:
|
||||
needs: no-scheduling
|
||||
runs-on: windows-2019
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
|
@ -634,7 +622,6 @@ jobs:
|
|||
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
|
||||
|
||||
windows-msvc:
|
||||
needs: no-scheduling
|
||||
runs-on: windows-2019
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
|
@ -678,7 +665,6 @@ jobs:
|
|||
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
|
||||
|
||||
windows-tcc:
|
||||
needs: no-scheduling
|
||||
runs-on: windows-2019
|
||||
timeout-minutes: 121
|
||||
env:
|
||||
|
@ -777,7 +763,6 @@ jobs:
|
|||
## run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
|
||||
|
||||
parser-silent:
|
||||
needs: no-scheduling
|
||||
name: Parser silent mode
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
|
@ -817,7 +802,6 @@ jobs:
|
|||
./v test-parser -S examples/2048/2048_fuzz.v
|
||||
|
||||
v-apps-compile:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 121
|
||||
steps:
|
||||
|
|
|
@ -53,15 +53,12 @@ on:
|
|||
- 'vlib/v/preludes/**.v'
|
||||
- 'vlib/v/embed_file/**.v'
|
||||
|
||||
jobs:
|
||||
no-scheduling:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Dont schedule all jobs
|
||||
run: sleep 10
|
||||
concurrency:
|
||||
group: build-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
tests-sanitize-undefined-clang:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
|
@ -87,7 +84,6 @@ jobs:
|
|||
run: ./v2 build-examples
|
||||
|
||||
tests-sanitize-undefined-gcc:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
|
@ -112,7 +108,6 @@ jobs:
|
|||
run: ./v2 build-examples
|
||||
|
||||
tests-sanitize-address-clang:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
|
@ -142,7 +137,6 @@ jobs:
|
|||
run: ASAN_OPTIONS=detect_leaks=0 ./v build-examples
|
||||
|
||||
tests-sanitize-address-msvc:
|
||||
needs: no-scheduling
|
||||
runs-on: windows-2019
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
|
@ -169,7 +163,6 @@ jobs:
|
|||
## .\v.exe -cflags "/fsanitize=address" test-self
|
||||
|
||||
tests-sanitize-address-gcc:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
|
@ -199,7 +192,6 @@ jobs:
|
|||
run: ASAN_OPTIONS=detect_leaks=0 ./v build-examples
|
||||
|
||||
tests-sanitize-memory-clang:
|
||||
needs: no-scheduling
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 180
|
||||
env:
|
||||
|
|
Loading…
Reference in New Issue