1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: sanitize compiler for tests (#7685)

This commit is contained in:
ka-weihe
2020-12-29 19:27:57 +01:00
committed by GitHub
parent e8cd056eb6
commit 2c65c5c61a
3 changed files with 25 additions and 24 deletions

View File

@@ -377,7 +377,7 @@ jobs:
echo "Running it..."
ls
ubuntu-clang-sanitize-undefined:
tests-sanitize-undefined:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
@@ -398,9 +398,9 @@ jobs:
- name: Build V
run: make -j4 && ./v -cc clang -cg -cflags -Werror -o v cmd/v
- name: Fixed tests (-fsanitize=undefined)
run: ./v -cflags -fsanitize=undefined test-fixed
run: ./v -cc clang -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-fixed
ubuntu-clang-sanitize-address:
tests-sanitize-address:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
@@ -423,7 +423,7 @@ jobs:
- name: Fixed tests (-fsanitize=address)
run: ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-fixed
ubuntu-clang-sanitize-memory:
tests-sanitize-memory:
runs-on: ubuntu-latest
timeout-minutes: 30
env: