ci: test the pure V math versions without .c.v overrides on the CI too (#19292)

This commit is contained in:
Delyan Angelov 2023-09-07 12:23:36 +03:00 committed by GitHub
parent 21aa97206f
commit 0bf66f591e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 3 deletions

View file

@ -27,9 +27,12 @@ freebsd_task:
##tcc -v -v
echo 'Build cmd/tools/fast'
cd cmd/tools/fast && ../../../v fast.v ## && ./fast -clang
diagnose_math_script: |
echo 'Diagnose vlib/math/math_test.v'
./v -stats vlib/math/math_test.v
test_math_script: |
echo 'Test the math module'
./v test vlib/math
test_math_pure_v_script: |
echo 'Test the math module, using only the pure V versions, without the .c.v overrides'
./v -exclude @vlib/math/*.c.v test vlib/math
test_zip_modules_script: |
echo 'Test modules using thirdparty/zip'
./v test vlib/compress/ vlib/szip/

View file

@ -60,6 +60,8 @@ jobs:
./cmd/tools/test_if_v_test_system_works
- name: All code is formatted
run: ./v test-cleancode
- name: Test pure V math module
run: ./v -exclude @vlib/math/*.c.v test vlib/math/
- name: Self tests
run: ./v test-self
# - name: Self tests (-cstrict)
@ -212,6 +214,8 @@ jobs:
./cmd/tools/test_if_v_test_system_works
- name: All code is formatted
run: ./v test-cleancode
- name: Test pure V math module
run: ./v -exclude @vlib/math/*.c.v test vlib/math/
- name: Self tests
run: ./v test-self
- name: Self tests (-prod)
@ -315,6 +319,8 @@ jobs:
- name: All code is formatted
run: ./v test-cleancode
- name: Test pure V math module
run: ./v -exclude @vlib/math/*.c.v test vlib/math/
- name: Self tests
run: ./v test-self
- name: Self tests (vprod)

View file

@ -61,6 +61,8 @@ jobs:
./cmd/tools/test_if_v_test_system_works
- name: All code is formatted
run: VJOBS=1 ./v test-cleancode
- name: Test pure V math module
run: ./v -exclude @vlib/math/*.c.v test vlib/math/
- name: Self tests
run: VJOBS=1 ./v test-self
- name: Build examples

View file

@ -46,6 +46,8 @@ jobs:
./cmd/tools/test_if_v_test_system_works
- name: All code is formatted
run: ./v test-cleancode
- name: Test pure V math module
run: ./v -exclude @vlib/math/*.c.v test vlib/math/
- name: Self tests
run: .\v.exe test-self
# - name: Test
@ -111,6 +113,8 @@ jobs:
### TODO: test-cleancode fails with msvc. Investigate why???
## - name: All code is formatted
## run: ./v test-cleancode
- name: Test pure V math module
run: ./v -exclude @vlib/math/*.c.v test vlib/math/
- name: Self tests
run: |
./v -cg cmd\tools\vtest-self.v
@ -166,6 +170,8 @@ jobs:
run: ./v -W build-tools
- name: All code is formatted
run: ./v test-cleancode
- name: Test pure V math module
run: ./v -exclude @vlib/math/*.c.v test vlib/math/
- name: Self tests
run: ./v test-self
- name: Test v->js