File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 push :
66 paths :
7- - ' vlib/**'
7+ - ' vlib/v/checker/**.v'
8+ - ' vlib/v/gen/c/**.v'
89 - ' thirdparty/**'
910 - ' cmd/tools/builders/**.v'
1011 - ' cmd/tools/vshader.v'
1112 - ' **/puzzle_vibes_ci.yml'
13+ - ' !**_test.v'
1214 - ' !**.md'
1315 pull_request :
1416 paths :
15- - ' vlib/**'
17+ - ' vlib/v/checker/**'
18+ - ' vlib/v/gen/c/**'
1619 - ' thirdparty/**'
1720 - ' cmd/tools/builders/**.v'
1821 - ' cmd/tools/vshader.v'
1922 - ' **/puzzle_vibes_ci.yml'
23+ - ' !**_test.v'
2024 - ' !**.md'
2125
2226concurrency :
@@ -29,16 +33,14 @@ jobs:
2933 timeout-minutes : 30
3034 steps :
3135 - uses : actions/checkout@v5
36+ - uses : awalsh128/cache-apt-pkgs-action@v1.5.3
37+ with :
38+ packages : libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
39+ version : 1.0
40+
3241 - name : Build V
3342 run : make && ./v symlink
3443
35- - name : Install dependencies
36- run : |
37- .github/workflows/disable_azure_mirror.sh
38- v retry 'sudo apt update'
39- v retry 'sudo apt install -y libsdl2-dev libsdl2-ttf-dev'
40- v retry 'sudo apt install -y libsdl2-mixer-dev libsdl2-image-dev'
41-
4244 - name : Install & Setup SDL
4345 run : v retry -- v install sdl && v ~/.vmodules/sdl/setup.vsh
4446
5557 run : cd puzzle_vibes && v -g .
5658
5759 - name : Check PV compiles with -prod
58- run : cd puzzle_vibes && v -prod .
60+ run : cd puzzle_vibes && v -prod -no-prod-options .
5961
6062 - name : Check PV compiles with -prod and -g
61- run : cd puzzle_vibes && v -prod -g .
63+ run : cd puzzle_vibes && v -prod -g -no-prod-options .
You can’t perform that action at this time.
0 commit comments