70741a051b
To be able to see why tests failed, if they crashed due to a SIGSEGV, wrap the execution with catchsegv.
24 lines
639 B
YAML
24 lines
639 B
YAML
image: registry.gitlab.gnome.org/gnome/mutter/master:v1
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
|
|
build-mutter:
|
|
stage: build
|
|
script:
|
|
- meson . build -Degl_device=true -Dwayland_eglstream=true
|
|
- ninja -C build
|
|
- ninja -C build install
|
|
|
|
test-mutter:
|
|
stage: test
|
|
script:
|
|
- meson . build -Degl_device=true -Dwayland_eglstream=true
|
|
- ninja -C build
|
|
- glib-compile-schemas $PWD/build/data
|
|
- env XDG_RUNTIME_DIR=/tmp/ GSETTINGS_SCHEMA_DIR=$PWD/build/data dbus-run-session -- xvfb-run -s '+iglx -noreset' meson test -C build --verbose --no-stdsplit --wrap catchsegv
|
|
artifacts:
|
|
paths:
|
|
- build/
|
|
when: on_failure
|