1616 paths :
1717 - ' !**'
1818 - ' cmd/tools/vtest*'
19- - ' cmd/tools/builders/**.v'
19+ - ' cmd/tools/builders/**.v'
2020 - ' vlib/builtin/**.v'
2121 - ' vlib/strconv/**.v'
2222 - ' vlib/strings/**.v'
4343 paths :
4444 - ' !**'
4545 - ' cmd/tools/vtest*'
46- - ' cmd/tools/builders/**.v'
46+ - ' cmd/tools/builders/**.v'
4747 - ' vlib/builtin/**.v'
4848 - ' vlib/strconv/**.v'
4949 - ' vlib/strings/**.v'
9191 sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
9292 sudo apt-get install clang
9393 - name : Build V
94- run : make -j4 && ./v -cg -cstrict -o v cmd/v
94+ run : make -j4 && ./v -cg -cstrict -o v cmd/v && ./v test-cleancode
9595 - name : Self tests (-fsanitize=undefined)
9696 run : ./v -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-self
9797 - name : Build examples (V compiled with -fsanitize=undefined)
@@ -115,7 +115,7 @@ jobs:
115115 sudo apt-get install --quiet -y postgresql libpq-dev libssl-dev sqlite3 libsqlite3-dev valgrind
116116 sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
117117 - name : Build V
118- run : make -j4 && ./v -cg -cstrict -o v cmd/v
118+ run : make -j4 && ./v -cg -cstrict -o v cmd/v && ./v test-cleancode
119119 - name : Self tests (-fsanitize=undefined)
120120 run : ./v -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-self
121121 - name : Build examples (V compiled with -fsanitize=undefined)
@@ -140,7 +140,7 @@ jobs:
140140 sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
141141 sudo apt-get install clang
142142 - name : Build V
143- run : make -j4 && ./v -cg -cstrict -o v cmd/v
143+ run : make -j4 && ./v -cg -cstrict -o v cmd/v && ./v test-cleancode
144144 - name : Self tests (-fsanitize=address)
145145 run : ASAN_OPTIONS=detect_leaks=0 ./v -cflags "-fsanitize=address,pointer-compare,pointer-subtract" test-self
146146 - name : Self tests (V compiled with -fsanitize=address)
@@ -168,6 +168,7 @@ jobs:
168168 echo $VFLAGS
169169 .\make.bat -msvc
170170 .\v.exe self
171+ .\v.exe test-cleancode
171172 # # - name: Install dependencies
172173 # # run: |
173174 # # .\v.exe setup-freetype
@@ -195,7 +196,7 @@ jobs:
195196 sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
196197 sudo apt-get install clang
197198 - name : Build V
198- run : make -j4 && ./v -cg -cstrict -o v cmd/v
199+ run : make -j4 && ./v -cg -cstrict -o v cmd/v && ./v test-cleancode
199200 - name : Self tests (-fsanitize=address)
200201 run : ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-self
201202 - name : Self tests (V compiled with -fsanitize=address)
@@ -224,7 +225,7 @@ jobs:
224225 sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
225226 sudo apt-get install clang
226227 - name : Build V
227- run : make -j4 && ./v -cc clang -cg -cstrict -o v cmd/v
228+ run : make -j4 && ./v -cc clang -cg -cstrict -o v cmd/v && ./v test-cleancode
228229 - name : Self tests (-fsanitize=memory)
229230 run : ./v -cflags -fsanitize=memory test-self
230231 - name : Self tests (V compiled with -fsanitize=memory)
0 commit comments