ci: fix `v -W build-examples`

pull/8468/head
Delyan Angelov 2021-01-31 10:43:49 +02:00
parent e066e83041
commit 89bf48e3ba
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
3 changed files with 5 additions and 5 deletions

View File

@ -117,9 +117,9 @@ jobs:
- name: Test time functions in a timezone using daylight saving (Europe/Paris)
run: TZ=Europe/Paris ./v test vlib/time/
- name: Build examples
run: ./v build-examples
run: ./v -W build-examples
- name: Test building v tools
run: ./v build-tools
run: ./v -W build-tools
- name: Test v binaries
run: ./v build-vbinaries
- name: Test v tutorials

View File

@ -70,11 +70,11 @@ fn get_all_commands() []Command {
okmsg: 'There are no _test.v file regressions.'
}
res << Command{
line: '$vexe $vargs -progress build-tools'
line: '$vexe $vargs -progress -W build-tools'
okmsg: 'All tools can be compiled.'
}
res << Command{
line: '$vexe $vargs -progress build-examples'
line: '$vexe $vargs -progress -W build-examples'
okmsg: 'All examples can be compiled.'
}
res << Command{

View File

@ -1,7 +1,7 @@
module main
import vweb
import vweb.assets
//import vweb.assets
import time
const (