Skip to content

Commit 556aa27

Browse files
ci: path-gate slow platform workflows (#27861)
1 parent 1bfdabc commit 556aa27

5 files changed

Lines changed: 187 additions & 37 deletions

File tree

.github/workflows/freebsd_ci.yml

Lines changed: 55 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,61 @@ on:
1414
- '!ci/freebsd_ci.vsh'
1515
- '!cmd/tools/builders/**.v'
1616
pull_request:
17-
paths-ignore:
18-
- 'vlib/v3/**'
19-
- '**.md'
20-
- '**.yml'
21-
- 'cmd/tools/**'
22-
- '!**/freebsd_ci.yml'
23-
- '!ci/freebsd_ci.vsh'
24-
- '!cmd/tools/builders/**.v'
17+
paths:
18+
- 'cmd/v/**'
19+
- 'cmd/tools/builders/**.v'
20+
# cmd/tools essentials synced with cmd/tools/vtest-self.v:essential_list
21+
- 'cmd/tools/vvet/**'
22+
- 'cmd/tools/vdoc/**'
23+
# vlib essentials synced with cmd/tools/vtest-self.v:essential_list
24+
- 'vlib/arrays/**'
25+
- 'vlib/bitfield/**'
26+
- 'vlib/builtin/**'
27+
- 'vlib/cli/**'
28+
- 'vlib/crypto/md5/**'
29+
- 'vlib/dl/**'
30+
- 'vlib/encoding/**'
31+
- 'vlib/flag/**'
32+
- 'vlib/hash/**'
33+
- 'vlib/io/**'
34+
- 'vlib/json/**'
35+
- 'vlib/json2/**'
36+
- 'vlib/math/**'
37+
- 'vlib/net/**'
38+
- 'vlib/os/**'
39+
- 'vlib/rand/**'
40+
- 'vlib/runtime/**'
41+
- 'vlib/semver/**'
42+
- 'vlib/strconv/**'
43+
- 'vlib/strings/**'
44+
- 'vlib/sync/**'
45+
- 'vlib/time/**'
46+
- 'vlib/toml/**'
47+
- 'vlib/v/**'
48+
# build-examples / DB / Sokol deps exercised by ci/freebsd_ci.vsh
49+
- 'examples/**'
50+
- 'vlib/compress/**'
51+
- 'vlib/crypto/rand/**'
52+
- 'vlib/db/**'
53+
- 'vlib/fontstash/**'
54+
- 'vlib/gg/**'
55+
- 'vlib/gx/**'
56+
- 'vlib/picoev/**'
57+
- 'vlib/sokol/**'
58+
- 'vlib/term/**'
59+
- 'vlib/veb/**'
60+
- 'thirdparty/**'
61+
- 'vc/**'
62+
- 'v.mod'
63+
- 'ci/freebsd_ci.vsh'
64+
- 'ci/common/**'
65+
- 'GNUmakefile'
66+
- 'Makefile'
67+
- '.github/problem-matchers/**'
68+
# Negated patterns MUST stay after all positive patterns (GitHub path-filter ordering).
69+
- '!**.md'
70+
- '!**.yml'
71+
- '.github/workflows/freebsd_ci.yml'
2572

2673
concurrency:
2774
group: freebsd-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

.github/workflows/openbsd_ci.yml

Lines changed: 53 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,59 @@ on:
1414
- '!ci/openbsd_ci.vsh'
1515
- '!cmd/tools/builders/**.v'
1616
pull_request:
17-
paths-ignore:
18-
- 'vlib/v3/**'
19-
- '**.md'
20-
- '**.yml'
21-
- 'cmd/tools/**'
22-
- '!**/openbsd_ci.yml'
23-
- '!ci/openbsd_ci.vsh'
24-
- '!cmd/tools/builders/**.v'
17+
paths:
18+
- 'cmd/v/**'
19+
- 'cmd/tools/builders/**.v'
20+
# cmd/tools essentials synced with cmd/tools/vtest-self.v:essential_list
21+
- 'cmd/tools/vvet/**'
22+
- 'cmd/tools/vdoc/**'
23+
# vlib essentials synced with cmd/tools/vtest-self.v:essential_list
24+
- 'vlib/arrays/**'
25+
- 'vlib/bitfield/**'
26+
- 'vlib/builtin/**'
27+
- 'vlib/cli/**'
28+
- 'vlib/crypto/md5/**'
29+
- 'vlib/dl/**'
30+
- 'vlib/encoding/**'
31+
- 'vlib/flag/**'
32+
- 'vlib/io/**'
33+
- 'vlib/json/**'
34+
- 'vlib/json2/**'
35+
- 'vlib/math/**'
36+
- 'vlib/net/**'
37+
- 'vlib/os/**'
38+
- 'vlib/rand/**'
39+
- 'vlib/runtime/**'
40+
- 'vlib/semver/**'
41+
- 'vlib/strconv/**'
42+
- 'vlib/strings/**'
43+
- 'vlib/sync/**'
44+
- 'vlib/time/**'
45+
- 'vlib/toml/**'
46+
- 'vlib/v/**'
47+
# build-examples / DB / Sokol deps exercised by ci/openbsd_ci.vsh
48+
- 'vlib/compress/**'
49+
- 'vlib/crypto/rand/**'
50+
- 'vlib/db/**'
51+
- 'vlib/fontstash/**'
52+
- 'vlib/gg/**'
53+
- 'vlib/gx/**'
54+
- 'vlib/picoev/**'
55+
- 'vlib/sokol/**'
56+
- 'vlib/term/**'
57+
- 'vlib/veb/**'
58+
- 'thirdparty/**'
59+
- 'vc/**'
60+
- 'v.mod'
61+
- 'ci/openbsd_ci.vsh'
62+
- 'ci/common/**'
63+
- 'GNUmakefile'
64+
- 'Makefile'
65+
- '.github/problem-matchers/**'
66+
# Negated patterns MUST stay after all positive patterns (GitHub path-filter ordering).
67+
- '!**.md'
68+
- '!**.yml'
69+
- '.github/workflows/openbsd_ci.yml'
2570

2671
concurrency:
2772
group: openbsd-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

.github/workflows/riscv64_linux_ci.yml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,33 @@ on:
1313
- 'cmd/tools/**'
1414
- '!cmd/tools/builders/**.v'
1515
pull_request:
16-
paths-ignore:
17-
- 'vlib/v3/**'
18-
- '**.md'
19-
- '**.yml'
20-
- '!**/riscv64_linux_ci.yml'
21-
- 'cmd/tools/**'
22-
- '!cmd/tools/builders/**.v'
16+
paths:
17+
- 'cmd/v/**'
18+
- 'cmd/tools/builders/**.v'
19+
- 'vlib/arrays/**'
20+
- 'vlib/builtin/**'
21+
- 'vlib/encoding/binary/**'
22+
- 'vlib/os/**'
23+
- 'vlib/time/**'
24+
- 'vlib/runtime/**'
25+
- 'vlib/term/**'
26+
- 'vlib/net/**'
27+
- 'vlib/crypto/rand/**'
28+
- 'vlib/picoev/**'
29+
- 'vlib/rand/**'
30+
- 'vlib/strconv/**'
31+
- 'vlib/strings/**'
32+
- 'vlib/sync/**'
33+
- 'vlib/v/**'
34+
- 'thirdparty/**'
35+
- 'vc/**'
36+
- 'v.mod'
37+
- 'GNUmakefile'
38+
- 'Makefile'
39+
- '.github/problem-matchers/**'
40+
- '!**.md'
41+
- '!**.yml'
42+
- '.github/workflows/riscv64_linux_ci.yml'
2343

2444
concurrency:
2545
group: riscv64-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

.github/workflows/s390x_linux_ci.yml

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,33 @@ on:
1313
- 'cmd/tools/**'
1414
- '!cmd/tools/builders/**.v'
1515
pull_request:
16-
paths-ignore:
17-
- 'vlib/v3/**'
18-
- '**.md'
19-
- '**.yml'
20-
- '!**/s390x_linux_ci.yml'
21-
- 'cmd/tools/**'
22-
- '!cmd/tools/builders/**.v'
16+
paths:
17+
- 'cmd/v/**'
18+
- 'cmd/tools/builders/**.v'
19+
- 'vlib/arrays/**'
20+
- 'vlib/builtin/**'
21+
- 'vlib/encoding/binary/**'
22+
- 'vlib/os/**'
23+
- 'vlib/time/**'
24+
- 'vlib/runtime/**'
25+
- 'vlib/term/**'
26+
- 'vlib/net/**'
27+
- 'vlib/crypto/rand/**'
28+
- 'vlib/picoev/**'
29+
- 'vlib/rand/**'
30+
- 'vlib/strconv/**'
31+
- 'vlib/strings/**'
32+
- 'vlib/sync/**'
33+
- 'vlib/v/**'
34+
- 'thirdparty/**'
35+
- 'vc/**'
36+
- 'v.mod'
37+
- 'GNUmakefile'
38+
- 'Makefile'
39+
- '.github/problem-matchers/**'
40+
- '!**.md'
41+
- '!**.yml'
42+
- '.github/workflows/s390x_linux_ci.yml'
2343

2444
concurrency:
2545
group: s390x-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

.github/workflows/termux_ci.yml

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,31 @@ on:
1313
- 'cmd/tools/**'
1414
- '!cmd/tools/builders/**.v'
1515
pull_request:
16-
paths-ignore:
17-
- 'vlib/v3/**'
18-
- '**.md'
19-
- '**.yml'
20-
- '!**/termux_ci.yml'
21-
- 'cmd/tools/**'
22-
- '!cmd/tools/builders/**.v'
16+
paths:
17+
- 'cmd/v/**'
18+
- 'cmd/tools/builders/**.v'
19+
- 'vlib/builtin/**'
20+
- 'vlib/os/**'
21+
- 'vlib/time/**'
22+
- 'vlib/runtime/**'
23+
- 'vlib/term/**'
24+
- 'vlib/net/**'
25+
- 'vlib/crypto/rand/**'
26+
- 'vlib/picoev/**'
27+
- 'vlib/strconv/**'
28+
- 'vlib/strings/**'
29+
- 'vlib/sync/**'
30+
- 'vlib/v/**'
31+
- 'thirdparty/**'
32+
- 'vc/**'
33+
- 'v.mod'
34+
- 'GNUmakefile'
35+
- 'Makefile'
36+
- '.github/problem-matchers/**'
37+
- '.github/workflows/retry.sh'
38+
- '!**.md'
39+
- '!**.yml'
40+
- '.github/workflows/termux_ci.yml'
2341

2442
concurrency:
2543
group: termux-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}

0 commit comments

Comments
 (0)