split a single step into build+test
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
* valgrind now has its own step yay
This commit is contained in:
parent
ef16cd4c78
commit
989f3fba88
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user