Skip to content

Commit

Permalink
ci: make -autofree failures easier to diagnose, test -autofree more o…
Browse files Browse the repository at this point in the history
…n linux and windows too (#18929)
  • Loading branch information
spytheman committed Jul 21, 2023
1 parent 96ff3ce commit 8b4c3fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linux_ci.yml
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/macos_ci.yml
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows_ci.yml
Expand Up @@ -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"
Expand Down

0 comments on commit 8b4c3fa

Please sign in to comment.