From 989f3fba884611cc0b50a3a9e0dc4e1267875f85 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 5 Mar 2020 01:06:10 +0100 Subject: [PATCH] split a single step into build+test * valgrind now has its own step yay --- .drone.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1e032a8..d2f37e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,12 +6,17 @@ platform: arch: amd64 steps: -- name: test build + valgrind +- name: build pull: always image: immawanderer/archlinux-cdev commands: - cmake CMakeLists.txt - make + +- name: valgrind-test + pull: always + image: immawanderer/archlinux-cdev + commands: - valgrind --log-file=valgrind_output ./pjc-0x02 < ./test_input > output - cat valgrind_output - grep "no leaks are possible" valgrind_output