From cf3b083c329b4e3ce89d16d77253e30137e86da2 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 29 Apr 2019 19:10:09 +0300 Subject: [PATCH] ci: enable Meson auto features This makes it so we don't miss build failures because the CI misses a dependency. --- .builds/alpine.yml | 3 ++- .builds/archlinux.yml | 6 ++++-- .builds/freebsd.yml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.builds/alpine.yml b/.builds/alpine.yml index 3a56af6a1..318d65165 100644 --- a/.builds/alpine.yml +++ b/.builds/alpine.yml @@ -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 diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml index 198ed4ee4..52cce5723 100644 --- a/.builds/archlinux.yml +++ b/.builds/archlinux.yml @@ -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 diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index acdf86c5b..e37288b48 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -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