diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-10-26 03:11:44 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-26 03:11:44 +0300 |
commit | 4039b8f112a3c7bc355b6cc73bbfca4762f71ef3 (patch) | |
tree | a25280864c8e44b9fecc397f15b1e6a03e969ec9 | |
parent | bda957de7cd86933aa898351c796fd4a7d18f983 (diff) | |
parent | 1c0962c0c42f5fe5039d2dbd538c86b34f617408 (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
-rw-r--r-- | .github/workflows/main.yml | 6 | ||||
-rwxr-xr-x | ci/lib.sh | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 831f4df56c..bd6f75b8e0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -251,6 +251,12 @@ jobs: - jobname: linux-leaks cc: gcc pool: ubuntu-latest + - jobname: linux-asan + cc: gcc + pool: ubuntu-latest + - jobname: linux-ubsan + cc: gcc + pool: ubuntu-latest env: CC: ${{matrix.vector.cc}} CC_PACKAGE: ${{matrix.vector.cc_package}} @@ -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}" |