From f3aac0bc6caab63e30edc90e23b62765d39689f8 Mon Sep 17 00:00:00 2001 From: ka-weihe Date: Sat, 12 Dec 2020 22:53:04 +0100 Subject: [PATCH] ci: add a valgrind test for self compiling (#7294) --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82b30f976e..d982ad474b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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