mutter/.gitlab-ci.yml

33 lines
755 B
YAML
Raw Normal View History

image: registry.gitlab.gnome.org/gnome/mutter/master:v1
stages:
- build
- test
build-mutter:
stage: build
script:
- meson . build -Dbuildtype=debugoptimized -Degl_device=true -Dwayland_eglstream=true --werror
- ninja -C build
- ninja -C build install
artifacts:
expire_in: 1 day
paths:
- build
test-mutter:
stage: test
dependencies:
- build-mutter
artifacts:
paths:
- build
script:
- glib-compile-schemas $PWD/build/data
- mkdir -m 700 $PWD/runtime-dir
- >
env XDG_RUNTIME_DIR=$PWD/runtime-dir
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