1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: make -autofree failures easier to diagnose, test -autofree more on linux and windows too (#18929)

This commit is contained in:
Delyan Angelov 2023-07-21 15:39:43 +03:00 committed by GitHub
parent 96ff3ce8f7
commit 8b4c3fa1d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 6 deletions

View File

@ -223,8 +223,10 @@ jobs:
run: VTEST_JUST_ESSENTIAL=1 V_CI_CSTRICT=1 ./v -cc gcc -cstrict test-self run: VTEST_JUST_ESSENTIAL=1 V_CI_CSTRICT=1 ./v -cc gcc -cstrict test-self
- name: Build examples - name: Build examples
run: ./v build-examples run: ./v build-examples
- name: Build tetris.v with -autofree - name: Build tetris with -autofree
run: ./v -autofree -experimental -o tetris examples/tetris/tetris.v run: ./v -autofree -o tetris examples/tetris/tetris.v
- name: Build blog tutorial with -autofree
run: ./v -autofree -o blog tutorials/building_a_simple_web_blog_with_vweb/code/blog
- name: Build option_test.v with -autofree - name: Build option_test.v with -autofree
run: ./v -autofree vlib/v/tests/option_test.v run: ./v -autofree vlib/v/tests/option_test.v
- name: V self compilation with -parallel-cc - name: V self compilation with -parallel-cc

View File

@ -68,10 +68,10 @@ jobs:
run: VJOBS=1 ./v test-self run: VJOBS=1 ./v test-self
- name: Build examples - name: Build examples
run: ./v build-examples run: ./v build-examples
- name: Build examples with -autofree - name: Build tetris with -autofree
run: | run: ./v -autofree -o tetris examples/tetris/tetris.v
./v -autofree -o tetris examples/tetris/tetris.v - name: Build blog tutorial with -autofree
./v -autofree -o blog tutorials/building_a_simple_web_blog_with_vweb/code/blog run: ./v -autofree -o blog tutorials/building_a_simple_web_blog_with_vweb/code/blog
- name: Build examples with -prod - name: Build examples with -prod
run: | run: |
./v -prod examples/news_fetcher.v ./v -prod examples/news_fetcher.v

View File

@ -53,6 +53,8 @@ jobs:
run: .\v.exe test-self run: .\v.exe test-self
# - name: Test # - name: Test
# run: .\v.exe test-all # run: .\v.exe test-all
- name: Build option_test.v with -autofree
run: .\v.exe -autofree vlib/v/tests/option_test.v
- name: Test time functions in a timezone UTC-12 - name: Test time functions in a timezone UTC-12
run: | run: |
tzutil /s "Dateline Standard Time" tzutil /s "Dateline Standard Time"