ci: Test building without native backend support

Nobody from the core team tests that configuration, so some non-guarded
includes regularly sneak in. Avoid those build breakages by adding a
corresponding job to the CI pipeline.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/637
This commit is contained in:
Florian Müllner 2019-06-22 16:55:08 +02:00 committed by Georges Basile Stavracas Neto
parent ca88826ce9
commit 06a7c22bcd

View File

@ -28,6 +28,20 @@ build-mutter:
- merge_requests
- /^.*$/
build-without-native-backend:
stage: build
script:
- meson . build -Dbuildtype=debugoptimized -Dnative_backend=false -Dudev=false --werror --prefix /usr
- ninja -C build
- ninja -C build install
artifacts:
expire_in: 1 day
paths:
- build
only:
- merge_requests
- /^.*$/
test-mutter:
stage: test
dependencies: