2018-06-14 19:01:35 +00:00
|
|
|
image: registry.gitlab.gnome.org/gnome/mutter/master:v1
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
2018-08-17 12:15:29 +00:00
|
|
|
- test
|
2018-06-14 19:01:35 +00:00
|
|
|
|
|
|
|
build-mutter:
|
|
|
|
stage: build
|
|
|
|
script:
|
2019-01-23 09:41:34 +00:00
|
|
|
- meson . build -Dbuildtype=debugoptimized -Degl_device=true -Dwayland_eglstream=true --werror
|
2018-06-14 19:01:35 +00:00
|
|
|
- ninja -C build
|
|
|
|
- ninja -C build install
|
2019-01-23 12:28:38 +00:00
|
|
|
artifacts:
|
|
|
|
expire_in: 1 day
|
|
|
|
paths:
|
|
|
|
- build
|
2018-08-17 12:15:29 +00:00
|
|
|
|
|
|
|
test-mutter:
|
|
|
|
stage: test
|
2019-01-23 12:28:38 +00:00
|
|
|
dependencies:
|
|
|
|
- build-mutter
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build
|
2019-01-23 23:24:32 +00:00
|
|
|
variables:
|
|
|
|
XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
|
|
|
|
GSETTINGS_SCHEMA_DIR: "$CI_PROJECT_DIR/build/data"
|
2018-08-17 12:15:29 +00:00
|
|
|
script:
|
2019-01-23 23:24:32 +00:00
|
|
|
- mkdir -m 700 $XDG_RUNTIME_DIR
|
|
|
|
- glib-compile-schemas $GSETTINGS_SCHEMA_DIR
|
2019-01-23 12:28:38 +00:00
|
|
|
- >
|
|
|
|
dbus-run-session -- xvfb-run -s '+iglx -noreset'
|
|
|
|
meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --wrap catchsegv
|