ci: Change the without-native-backend to not build with Wayland too

There are two common ways of building mutter: With both the native
backend and Wayland support (most common, used by most Linux distributions), and
without the native backend and Wayland support (as is done by some
BSD*s).

To catch compilation errors in both these common build configurations,
change the no-native-backend build phase to also not build with Wayland
support.

This also disables building mutter tests, as tests depend on Wayland to
run.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/837
This commit is contained in:
Jonas Ådahl 2019-10-09 10:42:35 +02:00 committed by Georges Basile Stavracas Neto
parent 69a0c1dc80
commit 2a56de80a2

View File

@ -28,10 +28,10 @@ build-mutter:
- merge_requests - merge_requests
- /^.*$/ - /^.*$/
build-without-native-backend: build-without-native-backend-and-wayland:
stage: build stage: build
script: script:
- meson . build -Dbuildtype=debugoptimized -Dnative_backend=false -Dudev=false --werror --prefix /usr - meson . build -Dbuildtype=debugoptimized -Dnative_backend=false -Dudev=false -Dwayland=false -Dcore_tests=false --werror --prefix /usr
- ninja -C build - ninja -C build
- ninja -C build install - ninja -C build install
artifacts: artifacts: