ci: Set XDG_RUNTIME_DIR for tests

Mutter's backend code depends on it being set.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/691
This commit is contained in:
Florian Müllner 2019-08-25 18:52:49 +03:00
parent 957fa910b3
commit da6c154ceb

View File

@ -67,6 +67,8 @@ build:
test: test:
image: registry.gitlab.gnome.org/gnome/mutter/master:v2 image: registry.gitlab.gnome.org/gnome/mutter/master:v2
stage: test stage: test
variables:
XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
before_script: before_script:
- ninja -C mutter/build install - ninja -C mutter/build install
script: script: