From f2a8f04f1356f5db605162a29cf301680ac30d6f Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 1 Nov 2023 09:27:38 +0100 Subject: [PATCH] Enable UBSan sanitizer on CI --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9223d0c..305dac2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,13 @@ jobs: - name: test run: | make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_MSAN=y CONFIG_CLANG=y test + linux-ubsan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: test + run: | + make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y CONFIG_UBSAN=y test macos: runs-on: macos-latest