Skip to content

Commit 5e95b07

Browse files
authored
ci: force all tools to build without warnings/notices in tools_ci.yml (#23371)
1 parent c421c8c commit 5e95b07

1 file changed

Lines changed: 16 additions & 8 deletions

File tree

‎.github/workflows/tools_ci.yml‎

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ jobs:
3737
run: make -j4 && ./v -showcc -o v cmd/v && ./v doctor
3838
- name: Code in cmd/ is formatted
3939
run: ./v fmt -verify cmd/
40-
- name: Test
40+
- name: Check build-tools
41+
run: ./v -N -W -check build-tools
42+
- name: Test tools
4143
run: ./v test-self cmd
42-
- name: Test (-cstrict)
44+
- name: Test tools (-cstrict)
4345
if: ${{ matrix.cc != 'tcc' }}
4446
run: ./v -W -cstrict test-self cmd
4547
- name: Test sanitized
@@ -72,9 +74,11 @@ jobs:
7274
- uses: actions/checkout@v4
7375
- name: Build V
7476
run: make -j4 && ./v -showcc -o v cmd/v && ./v doctor
75-
- name: Test
77+
- name: Check build-tools
78+
run: ./v -N -W -check build-tools
79+
- name: Test tools
7680
run: ./v test-self cmd
77-
- name: Test (-cstrict)
81+
- name: Test tools (-cstrict)
7882
run: ./v -W -cstrict test-self cmd
7983

8084
windows:
@@ -89,9 +93,11 @@ jobs:
8993
- uses: actions/checkout@v4
9094
- name: Build V
9195
run: ./make.bat -${{ matrix.cc }} && ./v -o v2.exe cmd/v && ./v2 -showcc -o v.exe cmd/v && ./v doctor
92-
- name: Test
96+
- name: Check build tools
97+
run: ./v -N -W -check build-tools
98+
- name: Test tools
9399
run: ./v test-self cmd
94-
- name: Test (-cstrict)
100+
- name: Test tools (-cstrict)
95101
if: ${{ matrix.cc == 'msvc' }}
96102
run: ./v -W -cstrict test-self cmd
97103

@@ -117,7 +123,9 @@ jobs:
117123
run: |
118124
./v cmd/tools/test_if_v_test_system_works.v
119125
./cmd/tools/test_if_v_test_system_works
120-
- name: Test
126+
- name: Check build tools
127+
run: ./v -N -W -check build-tools
128+
- name: Test tools
121129
run: ./v test-self cmd
122-
- name: Test (-cstrict)
130+
- name: Test tools (-cstrict)
123131
run: ./v -W -cstrict test-self cmd

0 commit comments

Comments
 (0)