From 141b7759c7c9afcde085593f024b0f7aff2a156a Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 1 Nov 2023 05:03:26 +0100 Subject: [PATCH] Enable sanitizers on CI --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d36a09..9223d0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,20 @@ jobs: - name: test run: | make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y test + linux-asan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: test + run: | + make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_ASAN=y test + linux-msan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: test + run: | + make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_MSAN=y CONFIG_CLANG=y test macos: runs-on: macos-latest