mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: test the pure V math versions without .c.v overrides on the CI too (#19292)
This commit is contained in:
parent
21aa97206f
commit
0bf66f591e
4 changed files with 20 additions and 3 deletions
|
@ -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/
|
||||
|
|
6
.github/workflows/linux_ci.yml
vendored
6
.github/workflows/linux_ci.yml
vendored
|
@ -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)
|
||||
|
|
2
.github/workflows/macos_ci.yml
vendored
2
.github/workflows/macos_ci.yml
vendored
|
@ -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
|
||||
|
|
6
.github/workflows/windows_ci.yml
vendored
6
.github/workflows/windows_ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue