summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9ea774d..1cb0d99 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,10 +11,12 @@ build-and-test:
CMAKE_INSTALL_PREFIX: "ch.arknet.Turns"
script:
- weston --no-config --socket=$WAYLAND_DISPLAY --backend=headless &
+ - export XDG_DATA_DIRS=$(pwd)/${CMAKE_INSTALL_PREFIX}/share:${XDG_DATA_DIRS}
- cmake --preset default
- cmake --build --preset default --config $BUILD_TYPE
- cmake --install build --config $BUILD_TYPE
- - ctest --preset default --build-config $BUILD_TYPE
+ - glib-compile-schemas ${CMAKE_INSTALL_PREFIX}/share/glib-2.0/schemas
+ - dbus-run-session -- ctest --preset default --build-config $BUILD_TYPE
artifacts:
paths:
- ${CMAKE_INSTALL_PREFIX}/