ci: Use the proper Meson b_sanitize option

No idea how `meson -Dsanitize` ever would've worked
This commit is contained in:
Niels De Graef 2022-05-27 11:28:08 +02:00
parent efef633efe
commit e1e5343033

View File

@ -35,7 +35,7 @@ fedora:asan:
- dnf install -y $DEPENDENCIES libasan - dnf install -y $DEPENDENCIES libasan
- dbus-uuidgen --ensure - dbus-uuidgen --ensure
script: script:
- meson _build -Dsanitize=address -Dgtk_doc=false - meson _build -Db_sanitize=address -Dgtk_doc=false
- meson compile -C _build - meson compile -C _build
- eval `dbus-launch --sh-syntax` - eval `dbus-launch --sh-syntax`
- meson test -C _build - meson test -C _build
@ -54,7 +54,7 @@ fedora:ubsan:
- dnf install -y $DEPENDENCIES libubsan - dnf install -y $DEPENDENCIES libubsan
- dbus-uuidgen --ensure - dbus-uuidgen --ensure
script: script:
- meson _build -Dsanitize=undefined -Dgtk_doc=false - meson _build -Db_sanitize=undefined -Dgtk_doc=false
- meson compile -C _build - meson compile -C _build
- eval `dbus-launch --sh-syntax` - eval `dbus-launch --sh-syntax`
- meson test -C _build - meson test -C _build