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:
parent
ca88826ce9
commit
06a7c22bcd
@ -28,6 +28,20 @@ build-mutter:
|
|||||||
- merge_requests
|
- 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:
|
test-mutter:
|
||||||
stage: test
|
stage: test
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user