Skip to content

Commit 2b3168a

Browse files
committed
Only run Valgrind command in ci for Ubuntu x86
1 parent 0655c70 commit 2b3168a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,10 @@ jobs:
140140
sudo apt update
141141
sudo apt install libc6-dbg
142142
micromamba install -c conda-forge valgrind
143-
if [[ "${{ matrix.os }}" == *"arm"* ]]; then
144-
SUPPRESSION_FILE="${{ github.workspace }}/etc/xeus-cpp-valgrind_arm.supp"
145-
else
146-
SUPPRESSION_FILE="${{ github.workspace }}/etc/xeus-cpp-valgrind_x86.supp"
147-
fi
148143
valgrind --show-error-list=yes --track-origins=yes --error-exitcode=1 \
149144
--show-leak-kinds=definite,possible \
150145
--gen-suppressions=all \
151-
--suppressions="${SUPPRESSION_FILE}" \
146+
--suppressions="xeus-cpp-valgrind_x86.supp" \
152147
test/test_xeus_cpp
153148
fi
154149

0 commit comments

Comments
 (0)