Skip to content

Commit 7f782dc

Browse files
committed
CI: Add non-zero exitcode to compute-sanitizer
1 parent 24408a3 commit 7f782dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-wheel-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
if [[ "${{ inputs.python-version }}" == "3.12" ]]; then
7878
COMPUTE_SANITIZER=${CUDA_HOME}/bin/compute-sanitizer
7979
COMPUTE_SANITIZER_VERSION=$(${COMPUTE_SANITIZER} --version | grep -Eo "[0-9]{4}\.[0-9]\.[0-9]" | sed -e 's/\.//g')
80-
SANITIZER_CMD="${COMPUTE_SANITIZER} --target-processes=all --launch-timeout=0 --tool=memcheck"
80+
SANITIZER_CMD="${COMPUTE_SANITIZER} --target-processes=all --launch-timeout=0 --tool=memcheck --error-exitcode=1"
8181
if [[ "$COMPUTE_SANITIZER_VERSION" -ge 202111 ]]; then
8282
SANITIZER_CMD="${SANITIZER_CMD} --padding=32"
8383
fi

0 commit comments

Comments
 (0)