Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-10-26 03:11:44 +0300
committerJunio C Hamano <gitster@pobox.com>2022-10-26 03:11:44 +0300
commit4039b8f112a3c7bc355b6cc73bbfca4762f71ef3 (patch)
treea25280864c8e44b9fecc397f15b1e6a03e969ec9 /ci
parentbda957de7cd86933aa898351c796fd4a7d18f983 (diff)
parent1c0962c0c42f5fe5039d2dbd538c86b34f617408 (diff)
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 51e47aa5d6..1808e3b1ce 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}"