ci: add a valgrind test for self compiling (#7294)

pull/7296/head
ka-weihe 2020-12-12 22:53:04 +01:00 committed by GitHub
parent 4500aade95
commit f3aac0bc6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,8 @@ jobs:
## sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
- name: Build V
run: make -j4 && ./v -cc gcc -cg -cflags -Werror -o v cmd/v
- name: Valgrind
run: valgrind --error-exitcode=1 ./v -o v.c cmd/v
# - name: Test V
# run: ./v -silent test-compiler
# - name: Test v binaries