PJC-0x02/.drone.yml
surtur 4420a92cb5
All checks were successful
continuous-integration/drone/push Build is passing
use archlinux image for tests
* switching from alpine-cmake that lacked valgrind

Signed-off-by: surtur <a_mirre@utb.cz>
2020-03-01 02:18:01 +01:00

19 lines
388 B
YAML

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