From 1c0962c0c42f5fe5039d2dbd538c86b34f617408 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 20 Oct 2022 09:20:59 -0700 Subject: ci: add address and undefined sanitizer tasks The current code is clean with these two sanitizers, and we would like to keep it that way by running the checks for any new code. The signal of "passed with asan, but not ubsan" (or vice versa) is not that useful in practice, so it is tempting to run both santizers in a single task, but it seems to take forever, so tentatively let's try having two separate ones. Helped-by: Jeff King Signed-off-by: Junio C Hamano --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github/workflows/main.yml') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 831f4df56c5..bd6f75b8e0f 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}} -- cgit v1.2.3