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

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

This commit is contained in:
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

View File

@ -217,6 +217,8 @@ jobs:
## sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev ## sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
- name: Build V - name: Build V
run: make -j4 && ./v -cc gcc -cg -cflags -Werror -o v cmd/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 # - name: Test V
# run: ./v -silent test-compiler # run: ./v -silent test-compiler
# - name: Test v binaries # - name: Test v binaries