2025-07-11 13:02:30 +03:30
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2025-07-17 11:05:03 +03:30
|
|
|
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
|
|
|
|
|
2025-07-17 11:13:31 +03:30
|
|
|
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
|
2025-07-17 11:05:03 +03:30
|
|
|
|