surtur
4420a92cb5
All checks were successful
continuous-integration/drone/push Build is passing
* switching from alpine-cmake that lacked valgrind Signed-off-by: surtur <a_mirre@utb.cz>
19 lines
388 B
YAML
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
|