PJC-0x02/.drone.yml
surtur 27ca02bda9
All checks were successful
continuous-integration/drone/push Build is passing
switch to own Docker image + updates to main.c
* use pre-built docker-archlinux-cdev - no need to `pacman` the way

Signed-off-by: surtur <a_mirre@utb.cz>
2020-03-01 21:46:53 +01:00

18 lines
362 B
YAML

---
kind: pipeline
name: test-on-amd64
platform:
arch: amd64
steps:
- name: test build + valgrind
pull: if-not-exists
image: immawanderer/docker-archlinux-cdev
commands:
- cmake CMakeLists.txt
- make
- valgrind --log-file=valgrind_output ./pjc-0x02 < ./test_input > output
- cat valgrind_output
- grep "no leaks are possible" valgrind_output