Skip to content

Commit

Permalink
Install latest valgrind(3.22) from snap
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronj0 committed May 2, 2024
1 parent a733e0e commit 9657a3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,9 @@ jobs:
run: |
# Install deps
sudo apt-get update
sudo apt-get install git g++ debhelper devscripts gnupg python3 valgrind
sudo apt-get install git g++ debhelper devscripts gnupg python3
sudo apt-get install -y libc6-dbg
sudo snap install valgrind --classic
sudo apt autoremove
sudo apt clean
# Install libraries used by the cppyy test suite
Expand Down Expand Up @@ -1132,7 +1134,7 @@ jobs:
if [[ "${{ matrix.os }}" == macos-* ]]; then
echo "Skipping Valgrind checks on OS X"
else
if [[ "${{ matrix.clang-runtime }}" == "16" || "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]]; then
if [[ "${{ matrix.clang-runtime }}" == "17" || "${{ matrix.clang-runtime }}" == "18" ]]; then
echo "Valgrind reports true for clang-runtime 17 or 18, due to memory leaks with LLVM"
valgrind --show-error-list=yes --error-exitcode=1 --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -v || true
else
Expand Down

0 comments on commit 9657a3f

Please sign in to comment.