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:
parent
96ff3ce8f7
commit
8b4c3fa1d1
6
.github/workflows/linux_ci.yml
vendored
6
.github/workflows/linux_ci.yml
vendored
@ -223,8 +223,10 @@ jobs:
|
||||
run: VTEST_JUST_ESSENTIAL=1 V_CI_CSTRICT=1 ./v -cc gcc -cstrict test-self
|
||||
- name: Build examples
|
||||
run: ./v build-examples
|
||||
- name: Build tetris.v with -autofree
|
||||
run: ./v -autofree -experimental -o tetris examples/tetris/tetris.v
|
||||
- name: Build tetris with -autofree
|
||||
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
|
||||
run: ./v -autofree vlib/v/tests/option_test.v
|
||||
- name: V self compilation with -parallel-cc
|
||||
|
8
.github/workflows/macos_ci.yml
vendored
8
.github/workflows/macos_ci.yml
vendored
@ -68,10 +68,10 @@ jobs:
|
||||
run: VJOBS=1 ./v test-self
|
||||
- name: Build examples
|
||||
run: ./v build-examples
|
||||
- name: Build examples with -autofree
|
||||
run: |
|
||||
./v -autofree -o tetris examples/tetris/tetris.v
|
||||
./v -autofree -o blog tutorials/building_a_simple_web_blog_with_vweb/code/blog
|
||||
- name: Build tetris with -autofree
|
||||
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 examples with -prod
|
||||
run: |
|
||||
./v -prod examples/news_fetcher.v
|
||||
|
2
.github/workflows/windows_ci.yml
vendored
2
.github/workflows/windows_ci.yml
vendored
@ -53,6 +53,8 @@ jobs:
|
||||
run: .\v.exe test-self
|
||||
# - name: Test
|
||||
# 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
|
||||
run: |
|
||||
tzutil /s "Dateline Standard Time"
|
||||
|
Loading…
Reference in New Issue
Block a user