ci/archlinux: enable address and undefined sanitizers

This commit is contained in:
Simon Zeni 2021-11-19 10:52:57 -05:00 committed by Simon Ser
parent 52c34e8253
commit d70d74ad4f

View file

@ -23,14 +23,14 @@ sources:
tasks:
- setup: |
cd wlroots
CC=gcc meson build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr
CC=gcc meson build-gcc --fatal-meson-warnings --default-library=both -Dauto_features=enabled --prefix /usr -Db_sanitize=address,undefined
CC=clang meson build-clang --fatal-meson-warnings -Dauto_features=enabled
- gcc: |
cd wlroots/build-gcc
ninja
sudo ninja install
cd ../tinywl
make
CFLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" make
- clang: |
cd wlroots/build-clang
ninja