Skip to content

Commit b01273e

Browse files
authored
ci: reduce amount of tests compiled with V itself, built with different sanitization options (speed up CI for most compiler PRs) (#25892)
1 parent dafa6fd commit b01273e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/sanitized_ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ jobs:
171171
run: ./v -cg -cstrict -o v cmd/v
172172
- name: Self tests (-fsanitize=address)
173173
run: ./v -cflags -fsanitize=address,pointer-compare,pointer-subtract -silent test-self vlib
174-
- name: Self tests (V compiled with -fsanitize=address)
174+
- name: Test vlib/v/tests/ (V compiled with -fsanitize=address)
175175
run: |
176176
./v -cflags -fsanitize=address -o v cmd/v
177-
./v -cc tcc -silent test-self -asan-compiler vlib
177+
./v -cc tcc -silent test-self -asan-compiler vlib/v/tests/
178178
- name: Build examples (V compiled with -fsanitize=address)
179179
run: ./v -silent build-examples
180180

@@ -234,10 +234,10 @@ jobs:
234234
run: ./v -cg -cstrict -o v cmd/v
235235
- name: Self tests (-fsanitize=address)
236236
run: ./v -cflags -fsanitize=address -silent test-self vlib
237-
- name: Self tests (V compiled with -fsanitize=address)
237+
- name: Test vlib/v/tests/ (V compiled with -fsanitize=address)
238238
run: |
239239
./v -cflags -fsanitize=address,pointer-compare,pointer-subtract -o v cmd/v
240-
./v -cc tcc -silent test-self -asan-compiler vlib
240+
./v -cc tcc -silent test-self -asan-compiler vlib/v/tests/
241241
- name: Build examples (V compiled with -fsanitize=address)
242242
run: ./v -silent build-examples
243243

@@ -268,10 +268,10 @@ jobs:
268268
run: ./v -cc clang -cg -cstrict -o v cmd/v
269269
- name: Self tests (-fsanitize=memory)
270270
run: ./v -cflags -fsanitize=memory -silent test-self -msan-compiler vlib
271-
- name: Self tests (V compiled with -fsanitize=memory)
271+
- name: Test vlib/v/tests/ (V compiled with -fsanitize=memory)
272272
run: |
273273
./v -cflags -fsanitize=memory -o v cmd/v
274-
./v -cc tcc -silent test-self -msan-compiler vlib
274+
./v -cc tcc -silent test-self -msan-compiler vlib/v/tests/
275275
- name: Build examples (V compiled with -fsanitize=memory)
276276
run: ./v -silent build-examples
277277

0 commit comments

Comments
 (0)