light/.drone.yml
light7734 160e94680b
All checks were successful
continuous-integration/drone/pr Build is passing
wip: remove other ci checks for quick iterations
2025-07-17 11:07:18 +03:30

29 lines
679 B
YAML

kind: pipeline
type: docker
name: valgrind
clone:
recursive: true
submodule_update_remote: true
trigger:
branch:
- main
steps:
- name: valgrind
image: valgrind:latest
pull: if-not-exists
commands:
- |
set -e
git submodule update --init --recursive
conan build . \
-c tools.system.package_manager:mode=install \
-s build_type=Release \
-o enable_static_analysis=False \
-o enable_tests=True \
--build=missing
find ./build -type f -name "tests" -executable | xargs -I {} bash -c 'valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=255 {}' || exit 1