diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e46159feb..bef02d763c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/cmd/tools/vtest-all.v b/cmd/tools/vtest-all.v index 072824afcb..293ba5fcd6 100644 --- a/cmd/tools/vtest-all.v +++ b/cmd/tools/vtest-all.v @@ -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{ diff --git a/examples/vweb/vweb_assets/vweb_assets.v b/examples/vweb/vweb_assets/vweb_assets.v index 5e00b8fae1..b2a9a3893f 100644 --- a/examples/vweb/vweb_assets/vweb_assets.v +++ b/examples/vweb/vweb_assets/vweb_assets.v @@ -1,7 +1,7 @@ module main import vweb -import vweb.assets +//import vweb.assets import time const (