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-dev
- wayland-protocols - wayland-protocols
- xcb-util-image-dev - xcb-util-image-dev
- xcb-util-wm-dev
sources: sources:
- https://github.com/swaywm/wlroots - https://github.com/swaywm/wlroots
tasks: tasks:
- setup: | - setup: |
cd wlroots cd wlroots
meson build meson build -Dauto_features=enabled -Dlogind=disabled -Dxcb-errors=disabled
- build: | - build: |
cd wlroots cd wlroots
ninja -C build ninja -C build

View file

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

View file

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