Skip to content

Commit c0afe5d

Browse files
authored
ci: add docker to tools workflow, update ignore paths (#21368)
1 parent 3117126 commit c0afe5d

17 files changed

+141
-78
lines changed

.github/workflows/c2v_ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
- 'doc/**'
1010
- 'examples/**'
1111
- 'tutorials/**'
12+
- 'cmd/tools/**'
13+
- '!cmd/tools/builders/**.v'
1214
pull_request:
1315
paths-ignore:
1416
- '**.md'
@@ -17,6 +19,8 @@ on:
1719
- 'doc/**'
1820
- 'examples/**'
1921
- 'tutorials/**'
22+
- 'cmd/tools/**'
23+
- '!cmd/tools/builders/**.v'
2024

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

.github/workflows/cross_ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@ name: Cross CI
33
on:
44
push:
55
paths-ignore:
6-
- "**.md"
6+
- '**.md'
77
- '**.yml'
88
- '!**/cross_ci.yml'
9+
- 'cmd/tools/**'
10+
- '!cmd/tools/builders/**.v'
911
pull_request:
1012
paths-ignore:
11-
- "**.md"
13+
- '**.md'
1214
- '**.yml'
1315
- '!**/cross_ci.yml'
16+
- 'cmd/tools/**'
17+
- '!cmd/tools/builders/**.v'
1418

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

.github/workflows/docker_alpine.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@ name: Docker Alpine MUSL CI
33
on:
44
push:
55
paths-ignore:
6-
- "**.md"
7-
- "**.yml"
6+
- '**.md'
7+
- '**.yml'
88
- '!**/docker_alpine.yml'
9+
- 'cmd/tools/**'
10+
- '!cmd/tools/builders/**.v'
911
pull_request:
1012
paths-ignore:
11-
- "**.md"
12-
- "**.yml"
13+
- '**.md'
14+
- '**.yml'
1315
- '!**/docker_alpine.yml'
16+
- 'cmd/tools/**'
17+
- '!cmd/tools/builders/**.v'
1418

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

.github/workflows/docker_ubuntu.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@ name: Docker Ubuntu MUSL CI
33
on:
44
push:
55
paths-ignore:
6-
- "**.md"
7-
- "**.yml"
8-
- "!**/docker_ubuntu.yml"
6+
- '**.md'
7+
- '**.yml'
8+
- '!**/docker_ubuntu.yml'
9+
- 'cmd/tools/**'
10+
- '!cmd/tools/builders/**.v'
911
pull_request:
1012
paths-ignore:
11-
- "**.md"
12-
- "**.yml"
13-
- "!**/docker_ubuntu.yml"
13+
- '**.md'
14+
- '**.yml'
15+
- '!**/docker_ubuntu.yml'
16+
- 'cmd/tools/**'
17+
- '!cmd/tools/builders/**.v'
1418

1519
concurrency:
1620
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
@@ -46,4 +50,4 @@ jobs:
4650
run: ./v test-cleancode
4751

4852
- name: Test V fixed tests
49-
run: ./v test-self
53+
run: ./v test-self vlib

.github/workflows/gen_vc_ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ on:
55
paths-ignore:
66
- '**.vv'
77
- '**.out'
8-
- '**.yml'
98
- '**.md'
9+
- '**.yml'
1010
- '!**/gen_vc_ci.yml'
11+
- 'cmd/tools/**'
12+
- '!cmd/tools/builders/**.v'
1113
push:
1214
paths-ignore:
1315
- '**.vv'
1416
- '**.out'
15-
- '**.yml'
1617
- '**.md'
18+
- '**.yml'
1719
- '!**/gen_vc_ci.yml'
20+
- 'cmd/tools/**'
21+
- '!cmd/tools/builders/**.v'
1822

1923
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
2024
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.

.github/workflows/gg_regressions_ci.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@ name: Graphics CI
22

33
on:
44
push:
5-
paths-ignore:
6-
- "**.md"
7-
- '**.yml'
8-
- '!**/gg_regressions_ci.yml'
5+
paths:
6+
- 'vlib/**'
7+
- 'thirdparty/**'
8+
- 'cmd/tools/builders/**.v'
9+
- '**/gg_regressions_ci.yml'
10+
- '!**.md'
911
pull_request:
10-
paths-ignore:
11-
- "**.md"
12-
- '**.yml'
13-
- '!**/gg_regressions_ci.yml'
12+
paths:
13+
- 'vlib/**'
14+
- 'thirdparty/**'
15+
- 'cmd/tools/builders/**.v'
16+
- '**/gg_regressions_ci.yml'
17+
- '!**.md'
1418

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

.github/workflows/linux_ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@ on:
66
- '**.md'
77
- '**.yml'
88
- '!**/linux_ci.yml'
9-
- 'cmd/tools'
9+
- 'cmd/tools/**'
1010
- '!cmd/tools/builders/**.v'
1111
pull_request:
1212
paths-ignore:
1313
- '**.md'
1414
- '**.yml'
1515
- '!**/linux_ci.yml'
16-
- 'cmd/tools'
16+
- 'cmd/tools/**'
1717
- '!cmd/tools/builders/**.v'
1818

19-
2019
concurrency:
2120
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }}
2221
cancel-in-progress: true

.github/workflows/macos_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ on:
66
- '**.md'
77
- '**.yml'
88
- '!**/macos_ci.yml'
9-
- 'cmd/tools'
9+
- 'cmd/tools/**'
1010
- '!cmd/tools/builders/**.v'
1111
pull_request:
1212
paths-ignore:
1313
- '**.md'
1414
- '**.yml'
1515
- '!**/macos_ci.yml'
16-
- 'cmd/tools'
16+
- 'cmd/tools/**'
1717
- '!cmd/tools/builders/**.v'
1818

1919
concurrency:

.github/workflows/module_docs_ci.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,15 @@ name: vlib modules CI
22

33
on:
44
pull_request:
5-
paths-ignore:
6-
- '**.vv'
7-
- '**.out'
8-
- '**.yml'
9-
- '**.md'
10-
- '!**/module_docs_ci.yml'
5+
paths:
6+
- 'vlib/**.v'
7+
- 'vlib/**.md'
8+
- '**/module_docs_ci.yml'
119
push:
12-
paths-ignore:
13-
- '**.vv'
14-
- '**.out'
15-
- '**.yml'
16-
- '**.md'
17-
- '!**/module_docs_ci.yml'
10+
paths:
11+
- 'vlib/**.v'
12+
- 'vlib/**.md'
13+
- '**/module_docs_ci.yml'
1814

1915
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
2016
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.

.github/workflows/other_ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,15 @@ on:
66
- '**.md'
77
- '**.yml'
88
- '!**/other_ci.yml'
9+
- 'cmd/tools/**'
10+
- '!cmd/tools/builders/**.v'
911
pull_request:
1012
paths-ignore:
1113
- '**.md'
1214
- '**.yml'
1315
- '!**/other_ci.yml'
16+
- 'cmd/tools/**'
17+
- '!cmd/tools/builders/**.v'
1418

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

0 commit comments

Comments
 (0)