mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-24 21:55:58 +01:00
ci/archlinux: enable address and undefined sanitizers
This commit is contained in:
parent
52c34e8253
commit
d70d74ad4f
1 changed files with 2 additions and 2 deletions
|
@ -23,14 +23,14 @@ sources:
|
||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup: |
|
||||||
cd wlroots
|
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
|
CC=clang meson build-clang --fatal-meson-warnings -Dauto_features=enabled
|
||||||
- gcc: |
|
- gcc: |
|
||||||
cd wlroots/build-gcc
|
cd wlroots/build-gcc
|
||||||
ninja
|
ninja
|
||||||
sudo ninja install
|
sudo ninja install
|
||||||
cd ../tinywl
|
cd ../tinywl
|
||||||
make
|
CFLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" make
|
||||||
- clang: |
|
- clang: |
|
||||||
cd wlroots/build-clang
|
cd wlroots/build-clang
|
||||||
ninja
|
ninja
|
||||||
|
|
Loading…
Reference in a new issue