ci: enable Meson auto features

This makes it so we don't miss build failures because the CI misses a
dependency.
This commit is contained in:
Simon Ser 2019-04-29 19:10:09 +03:00 committed by Drew DeVault
parent 937e0e7937
commit cf3b083c32
3 changed files with 7 additions and 4 deletions

View file

@ -12,12 +12,13 @@ packages:
- wayland-dev
- wayland-protocols
- xcb-util-image-dev
- xcb-util-wm-dev
sources:
- https://github.com/swaywm/wlroots
tasks:
- setup: |
cd wlroots
meson build
meson build -Dauto_features=enabled -Dlogind=disabled -Dxcb-errors=disabled
- build: |
cd wlroots
ninja -C build

View file

@ -11,14 +11,16 @@ packages:
- pixman
- wayland
- wayland-protocols
- xcb-util-errors
- xcb-util-image
- xcb-util-wm
sources:
- https://github.com/swaywm/wlroots
tasks:
- setup: |
cd wlroots
CC=gcc meson build-gcc
CC=clang meson build-clang
CC=gcc meson build-gcc -Dauto_features=enabled
CC=clang meson build-clang -Dauto_features=enabled
- gcc: |
cd wlroots/build-gcc
ninja

View file

@ -23,5 +23,5 @@ sources:
tasks:
- wlroots: |
cd wlroots
meson build
meson build -Dauto_features=enabled -Dlogind=disabled -Dlibcap=disabled -Dfreerdp=disabled
ninja -C build