light/tools/ci/steps/amd64_gcc_valgrind.sh
light7734 144ca1aa4f
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
refactor: extract shell commands from .drone.yml to separate script files
2025-07-20 07:38:46 +03:30

12 lines
412 B
Bash
Executable file

#!/bin/bash
set -e
conan build . \
-c tools.system.package_manager:mode=install \
-c tools.cmake.cmaketoolchain:generator=Ninja \
-s build_type=Release \
-o enable_tests=True \
-o use_mold=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