From 8b51b2bcbd6ee19662976c1a63862a57360ccfa5 Mon Sep 17 00:00:00 2001 From: Eelco Chaudron Date: Wed, 10 Jan 2024 11:22:24 +0100 Subject: [PATCH] ci: Add kernel and userspace ASAN/UBSAN tests. This patch adds ASAN and UBSAN GitHub action tests for both the userspace and kernel datapaths. Acked-by: Simon Horman Signed-off-by: Eelco Chaudron --- .github/workflows/build-and-test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 886a5030265..3807e5f132c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -172,6 +172,15 @@ jobs: testsuite: check-kernel test_range: "100-" + - compiler: clang + sanitizers: address,undefined + testsuite: check-kernel + test_range: "-100" + - compiler: clang + sanitizers: address,undefined + testsuite: check-kernel + test_range: "100-" + - compiler: gcc testsuite: check-offloads test_range: "-100" @@ -183,6 +192,11 @@ jobs: dpdk: dpdk testsuite: check-system-userspace + - compiler: clang + sanitizers: address,undefined + dpdk: dpdk + testsuite: check-system-userspace + - compiler: gcc dpdk: dpdk testsuite: check-system-tso