[mutter/wip/3v1n0/ci-norebuilds: 4/4] gitlab-ci: Define exported global variables once
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/3v1n0/ci-norebuilds: 4/4] gitlab-ci: Define exported global variables once
- Date: Wed, 23 Jan 2019 23:25:33 +0000 (UTC)
commit 1b6117f6ca4dfd20a08dc7e8dfff0d43ab046da9
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Thu Jan 24 00:24:32 2019 +0100
gitlab-ci: Define exported global variables once
Don't redefine XDG runtime and gsettings schema paths multiple times, just
export the variables once and reuse them.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/408
.gitlab-ci.yml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f089a92c1..3385567fe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,9 +23,9 @@ test-mutter:
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'
+ - export XDG_RUNTIME_DIR=$PWD/runtime-dir
+ GSETTINGS_SCHEMA_DIR=$PWD/build/data
+ - mkdir -m 700 $XDG_RUNTIME_DIR
+ - glib-compile-schemas $GSETTINGS_SCHEMA_DIR
+ - dbus-run-session -- xvfb-run -s '+iglx -noreset'
meson test -C build --no-rebuild -t 10 --verbose --no-stdsplit --wrap catchsegv
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]