Skip to content

Commit

Permalink
Add Valgrind hint for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Jun 25, 2024
1 parent 170236d commit 321b26a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ if (BUILD_TESTS)
NAMES
valgrind
HINTS
$ENV{UMB_VALGRIND_BIN} # Used in GitHub Actions.
# Used in GitHub Actions.
$ENV{UMB_VALGRIND_BIN}
$ENV{VALGRIND_PREFIX}/bin/
REQUIRED
)
set(MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes --leak-check=full --track-origins=yes --error-exitcode=1")
Expand Down

0 comments on commit 321b26a

Please sign in to comment.