33on :
44 workflow_dispatch :
55 push :
6- paths-ignore : [' **/*.md' , '^\.*', ' LICENSE' ]
6+ paths-ignore : [" **/*.md" , '^\.*', " LICENSE" ]
77 pull_request :
8- paths-ignore : [' **/*.md' , '^\.*', ' LICENSE' ]
8+ paths-ignore : [" **/*.md" , '^\.*', " LICENSE" ]
99
1010jobs :
1111 build :
3737 run : |
3838 mv c2v ~/.vmodules/c2v
3939 v -g ~/.vmodules/c2v/ || true
40+ - name : The project files should be always formatted
41+ run : v fmt -verify ~/.vmodules/c2v/
4042 - name : Test C2V
4143 run : v -g test ~/.vmodules/c2v/
4244 - name : Build original Chocolate Doom
@@ -51,12 +53,12 @@ jobs:
5153 v -g run tools/build_doom_file.vsh doom/p_enemy
5254 - name : Translate the whole game in project/folder mode
5355 run : |
54- touch ~/DOOM1.WAD
55- if [ "${{ runner.os }}" == "Linux" ]; then
56- WAD_FILE=~/DOOM1.WAD ~/code/doom/build_whole_project.sh
57- else
58- echo "TODO: ... building doom should be fixed on macos, after it regressed in eafdd3c"
59- fi
56+ touch ~/DOOM1.WAD
57+ if [ "${{ runner.os }}" == "Linux" ]; then
58+ WAD_FILE=~/DOOM1.WAD ~/code/doom/build_whole_project.sh
59+ else
60+ echo "TODO: ... building doom should be fixed on macos, after it regressed in eafdd3c"
61+ fi
6062
6163 test-regressions :
6264 runs-on : ubuntu-latest
@@ -102,6 +104,8 @@ jobs:
102104 run : |
103105 mv c2v ~/.vmodules/c2v
104106 v -g ~/.vmodules/c2v/ || true
107+ - name : The project files should be always formatted
108+ run : v fmt -verify ~/.vmodules/c2v/
105109 - name : Test C2V
106110 run : v -g test ~/.vmodules/c2v/
107111 - name : Build original Chocolate Doom
0 commit comments