summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-10-26 00:11:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-10-26 00:11:44 (GMT)
commit4039b8f112a3c7bc355b6cc73bbfca4762f71ef3 (patch)
treea25280864c8e44b9fecc397f15b1e6a03e969ec9 /ci
parentbda957de7cd86933aa898351c796fd4a7d18f983 (diff)
parent1c0962c0c42f5fe5039d2dbd538c86b34f617408 (diff)
downloadgit-4039b8f112a3c7bc355b6cc73bbfca4762f71ef3.zip
git-4039b8f112a3c7bc355b6cc73bbfca4762f71ef3.tar.gz
git-4039b8f112a3c7bc355b6cc73bbfca4762f71ef3.tar.bz2
Merge branch 'jc/more-sanitizer-at-ci'
Enable address and undefined sanitizer tasks at GitHub Actions CI. * jc/more-sanitizer-at-ci: ci: add address and undefined sanitizer tasks
Diffstat (limited to 'ci')
-rwxr-xr-xci/lib.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/lib.sh b/ci/lib.sh
index 51e47aa..1808e3b 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -280,6 +280,12 @@ linux-leaks)
export GIT_TEST_PASSING_SANITIZE_LEAK=true
export GIT_TEST_SANITIZE_LEAK_LOG=true
;;
+linux-asan)
+ export SANITIZE=address
+ ;;
+linux-ubsan)
+ export SANITIZE=undefined
+ ;;
esac
MAKEFLAGS="$MAKEFLAGS CC=${CC:-cc}"