Skip to content

Commit 8e47d27

Browse files
committed
Revert "ci: auto-cancel previous workflows when a new commit is pushed (#10962)"
Unfortunately #10962 made PR runs, cancel runs on commits pushed to master too, leading to false positives for failed CI runs :-| . See https://github.com/vlang/v/commits/master?after=db5e0f21171c05fff3492754eb7aa09b8783c3f1+0&branch=master This reverts commit 6d6b08b.
1 parent db5e0f2 commit 8e47d27

File tree

3 files changed

+0
-47
lines changed

3 files changed

+0
-47
lines changed

.github/workflows/cancel.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ on:
99
- "**.md"
1010

1111
jobs:
12-
no-scheduling:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: Dont schedule all jobs
16-
run: sleep 10
17-
1812
code-formatting-perf-regressions:
19-
needs: no-scheduling
2013
runs-on: ubuntu-20.04
2114
timeout-minutes: 15
2215
env:
@@ -47,7 +40,6 @@ jobs:
4740
run: cmd/tools/repeat --max_time 1201 --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
4841

4942
ubuntu-tcc:
50-
needs: no-scheduling
5143
runs-on: ubuntu-20.04
5244
timeout-minutes: 60
5345
env:
@@ -114,7 +106,6 @@ jobs:
114106
run: cd cmd/tools/fast && ../../../v fast.v && ./fast
115107

116108
ubuntu-tcc-boehm-gc:
117-
needs: no-scheduling
118109
runs-on: ubuntu-20.04
119110
timeout-minutes: 60
120111
env:
@@ -169,7 +160,6 @@ jobs:
169160
[ "$(stat -c %s leaks.txt)" = "0" ]
170161
171162
misc-tooling:
172-
needs: no-scheduling
173163
runs-on: ubuntu-20.04
174164
timeout-minutes: 60
175165
env:
@@ -240,7 +230,6 @@ jobs:
240230

241231

242232
alpine-docker-musl-gcc:
243-
needs: no-scheduling
244233
name: alpine-musl
245234
runs-on: ubuntu-20.04
246235
timeout-minutes: 60
@@ -270,7 +259,6 @@ jobs:
270259
./v -silent test-self
271260
272261
macos:
273-
needs: no-scheduling
274262
runs-on: macOS-latest
275263
timeout-minutes: 60
276264
env:
@@ -359,7 +347,6 @@ jobs:
359347
../v run examples/build_examples.vsh
360348
361349
ubuntu:
362-
needs: no-scheduling
363350
runs-on: ubuntu-20.04
364351
timeout-minutes: 60
365352
steps:
@@ -455,7 +442,6 @@ jobs:
455442
# github-token: ${{ secrets.GITHUB_TOKEN }}
456443

457444
ubuntu-clang:
458-
needs: no-scheduling
459445
runs-on: ubuntu-20.04
460446
timeout-minutes: 60
461447
env:
@@ -551,7 +537,6 @@ jobs:
551537

552538
# Ubuntu docker pre-built container
553539
ubuntu-musl:
554-
needs: no-scheduling
555540
name: ubuntu-musl
556541
runs-on: ubuntu-20.04
557542
timeout-minutes: 60
@@ -604,7 +589,6 @@ jobs:
604589
# run: ./v -silent test-self
605590

606591
windows-gcc:
607-
needs: no-scheduling
608592
runs-on: windows-2019
609593
timeout-minutes: 60
610594
env:
@@ -647,7 +631,6 @@ jobs:
647631
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
648632

649633
windows-msvc:
650-
needs: no-scheduling
651634
runs-on: windows-2019
652635
timeout-minutes: 60
653636
env:
@@ -691,7 +674,6 @@ jobs:
691674
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
692675

693676
windows-tcc:
694-
needs: no-scheduling
695677
runs-on: windows-2019
696678
timeout-minutes: 60
697679
env:
@@ -779,7 +761,6 @@ jobs:
779761
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v
780762

781763
parser-silent:
782-
needs: no-scheduling
783764
name: Parser silent mode
784765
runs-on: ubuntu-20.04
785766
timeout-minutes: 60
@@ -819,7 +800,6 @@ jobs:
819800
./v test-parser -S examples/2048/2048_fuzz.v
820801
821802
v-apps-compile:
822-
needs: no-scheduling
823803
runs-on: ubuntu-20.04
824804
timeout-minutes: 60
825805
steps:

.github/workflows/ci_sanitized.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ on:
99
- "**.md"
1010

1111
jobs:
12-
no-scheduling:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- name: Dont schedule all jobs
16-
run: sleep 10
17-
1812
tests-sanitize-undefined-clang:
19-
needs: no-scheduling
2013
runs-on: ubuntu-20.04
2114
timeout-minutes: 120
2215
env:
@@ -42,7 +35,6 @@ jobs:
4235
run: ./v2 build-examples
4336

4437
tests-sanitize-undefined-gcc:
45-
needs: no-scheduling
4638
runs-on: ubuntu-20.04
4739
timeout-minutes: 120
4840
env:
@@ -67,7 +59,6 @@ jobs:
6759
run: ./v2 build-examples
6860

6961
tests-sanitize-address-clang:
70-
needs: no-scheduling
7162
runs-on: ubuntu-20.04
7263
timeout-minutes: 120
7364
env:
@@ -97,7 +88,6 @@ jobs:
9788
run: ASAN_OPTIONS=detect_leaks=0 ./v build-examples
9889

9990
tests-sanitize-address-msvc:
100-
needs: no-scheduling
10191
runs-on: windows-2019
10292
timeout-minutes: 120
10393
env:
@@ -124,7 +114,6 @@ jobs:
124114
.\v.exe -cflags -fsanitize=address test-self
125115
126116
tests-sanitize-address-gcc:
127-
needs: no-scheduling
128117
runs-on: ubuntu-20.04
129118
timeout-minutes: 120
130119
env:
@@ -154,7 +143,6 @@ jobs:
154143
run: ASAN_OPTIONS=detect_leaks=0 ./v build-examples
155144

156145
tests-sanitize-memory-clang:
157-
needs: no-scheduling
158146
runs-on: ubuntu-20.04
159147
timeout-minutes: 120
160148
env:

0 commit comments

Comments
 (0)