split a single step into build+test
All checks were successful
continuous-integration/drone/push Build is passing

* valgrind now has its own step yay
This commit is contained in:
surtur 2020-03-05 01:06:10 +01:00
parent ef16cd4c78
commit 989f3fba88
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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