Enable sanitizers on CI

This commit is contained in:
Ben Noordhuis 2023-11-01 05:03:26 +01:00
parent cd4579d106
commit 141b7759c7

View file

@ -29,6 +29,20 @@ jobs:
- name: test - name: test
run: | run: |
make -j$(getconf _NPROCESSORS_ONLN) CONFIG_WERROR=y test 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: macos:
runs-on: macos-latest runs-on: macos-latest