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