mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
ci: force all tools to build without warnings/notices in tools_ci.yml (#23371)
This commit is contained in:
parent
c421c8cc86
commit
5e95b0720a
24
.github/workflows/tools_ci.yml
vendored
24
.github/workflows/tools_ci.yml
vendored
@ -37,9 +37,11 @@ jobs:
|
||||
run: make -j4 && ./v -showcc -o v cmd/v && ./v doctor
|
||||
- name: Code in cmd/ is formatted
|
||||
run: ./v fmt -verify cmd/
|
||||
- name: Test
|
||||
- name: Check build-tools
|
||||
run: ./v -N -W -check build-tools
|
||||
- name: Test tools
|
||||
run: ./v test-self cmd
|
||||
- name: Test (-cstrict)
|
||||
- name: Test tools (-cstrict)
|
||||
if: ${{ matrix.cc != 'tcc' }}
|
||||
run: ./v -W -cstrict test-self cmd
|
||||
- name: Test sanitized
|
||||
@ -72,9 +74,11 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build V
|
||||
run: make -j4 && ./v -showcc -o v cmd/v && ./v doctor
|
||||
- name: Test
|
||||
- name: Check build-tools
|
||||
run: ./v -N -W -check build-tools
|
||||
- name: Test tools
|
||||
run: ./v test-self cmd
|
||||
- name: Test (-cstrict)
|
||||
- name: Test tools (-cstrict)
|
||||
run: ./v -W -cstrict test-self cmd
|
||||
|
||||
windows:
|
||||
@ -89,9 +93,11 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build V
|
||||
run: ./make.bat -${{ matrix.cc }} && ./v -o v2.exe cmd/v && ./v2 -showcc -o v.exe cmd/v && ./v doctor
|
||||
- name: Test
|
||||
- name: Check build tools
|
||||
run: ./v -N -W -check build-tools
|
||||
- name: Test tools
|
||||
run: ./v test-self cmd
|
||||
- name: Test (-cstrict)
|
||||
- name: Test tools (-cstrict)
|
||||
if: ${{ matrix.cc == 'msvc' }}
|
||||
run: ./v -W -cstrict test-self cmd
|
||||
|
||||
@ -117,7 +123,9 @@ jobs:
|
||||
run: |
|
||||
./v cmd/tools/test_if_v_test_system_works.v
|
||||
./cmd/tools/test_if_v_test_system_works
|
||||
- name: Test
|
||||
- name: Check build tools
|
||||
run: ./v -N -W -check build-tools
|
||||
- name: Test tools
|
||||
run: ./v test-self cmd
|
||||
- name: Test (-cstrict)
|
||||
- name: Test tools (-cstrict)
|
||||
run: ./v -W -cstrict test-self cmd
|
||||
|
Loading…
x
Reference in New Issue
Block a user