ci: enable Meson auto features

This makes it so we don't miss build failures because the CI misses a
dependency.
master
Simon Ser 6 years ago committed by Drew DeVault
parent 937e0e7937
commit cf3b083c32

@ -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

@ -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

@ -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

Loading…
Cancel
Save