summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2019-06-22 16:55:08 +0200
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2019-06-27 15:50:11 +0000
commit06a7c22bcd1cec31de33d6d13f9516d856eead35 (patch)
tree3ead2f1cf61804346ce73cd018c5ccfa2084278e /.gitlab-ci.yml
parentca88826ce91510b5a36c77cc680b1b665cf4c50d (diff)
downloadmutter-06a7c22bcd1cec31de33d6d13f9516d856eead35.tar.gz
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
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5b576ec2..6387bbf24 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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: