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
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build
|
2018-08-17 08:15:29 -04:00
|
|
|
script:
|
|
|
|
- glib-compile-schemas $PWD/build/data
|
2019-01-23 07:55:40 -05:00
|
|
|
- mkdir -m 700 $PWD/runtime-dir
|
2019-01-23 07:28:38 -05:00
|
|
|
- >
|
2019-01-23 07:55:40 -05:00
|
|
|
env XDG_RUNTIME_DIR=$PWD/runtime-dir
|
2019-01-23 07:28:38 -05:00
|
|
|
GSETTINGS_SCHEMA_DIR=$PWD/build/data
|
|
|
|
dbus-run-session -- xvfb-run -s '+iglx -noreset'
|
|
|
|
meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --wrap catchsegv
|