16
16
paths :
17
17
- ' !**'
18
18
- ' cmd/tools/vtest*'
19
- - ' cmd/tools/builders/**.v'
19
+ - ' cmd/tools/builders/**.v'
20
20
- ' vlib/builtin/**.v'
21
21
- ' vlib/strconv/**.v'
22
22
- ' vlib/strings/**.v'
43
43
paths :
44
44
- ' !**'
45
45
- ' cmd/tools/vtest*'
46
- - ' cmd/tools/builders/**.v'
46
+ - ' cmd/tools/builders/**.v'
47
47
- ' vlib/builtin/**.v'
48
48
- ' vlib/strconv/**.v'
49
49
- ' vlib/strings/**.v'
91
91
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
92
92
sudo apt-get install clang
93
93
- 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
95
95
- name : Self tests (-fsanitize=undefined)
96
96
run : ./v -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-self
97
97
- name : Build examples (V compiled with -fsanitize=undefined)
@@ -115,7 +115,7 @@ jobs:
115
115
sudo apt-get install --quiet -y postgresql libpq-dev libssl-dev sqlite3 libsqlite3-dev valgrind
116
116
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
117
117
- 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
119
119
- name : Self tests (-fsanitize=undefined)
120
120
run : ./v -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-self
121
121
- name : Build examples (V compiled with -fsanitize=undefined)
@@ -140,7 +140,7 @@ jobs:
140
140
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
141
141
sudo apt-get install clang
142
142
- 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
144
144
- name : Self tests (-fsanitize=address)
145
145
run : ASAN_OPTIONS=detect_leaks=0 ./v -cflags "-fsanitize=address,pointer-compare,pointer-subtract" test-self
146
146
- name : Self tests (V compiled with -fsanitize=address)
@@ -168,6 +168,7 @@ jobs:
168
168
echo $VFLAGS
169
169
.\make.bat -msvc
170
170
.\v.exe self
171
+ .\v.exe test-cleancode
171
172
# # - name: Install dependencies
172
173
# # run: |
173
174
# # .\v.exe setup-freetype
@@ -195,7 +196,7 @@ jobs:
195
196
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
196
197
sudo apt-get install clang
197
198
- 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
199
200
- name : Self tests (-fsanitize=address)
200
201
run : ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-self
201
202
- name : Self tests (V compiled with -fsanitize=address)
@@ -224,7 +225,7 @@ jobs:
224
225
sudo apt-get install --quiet -y libfreetype6-dev libxi-dev libxcursor-dev libgl-dev
225
226
sudo apt-get install clang
226
227
- 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
228
229
- name : Self tests (-fsanitize=memory)
229
230
run : ./v -cflags -fsanitize=memory test-self
230
231
- name : Self tests (V compiled with -fsanitize=memory)
0 commit comments