diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-08-27 15:38:23 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-08-27 15:38:23 +0200 |
| commit | ad1dd230b8ccb70e074b8de7859255168d36acc4 (patch) | |
| tree | 85415d14dbd184cc24b36fc32db9d29a5e6f71b7 /.gitlab-ci.yml | |
| parent | cedf71175b5403e8af002a1a593f27909d9615e0 (diff) | |
| download | turns-ad1dd230b8ccb70e074b8de7859255168d36acc4.tar.xz turns-ad1dd230b8ccb70e074b8de7859255168d36acc4.zip | |
ide|ci: update build configuration
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cb0d99..69591bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,19 +7,18 @@ default: build-and-test: stage: build - variables: - CMAKE_INSTALL_PREFIX: "ch.arknet.Turns" - script: + before_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 + - export XDG_DATA_DIRS=$(pwd)/ch.arknet.Turns/share:${XDG_DATA_DIRS} + script: + - cmake --preset ci + - cmake --build --preset ci --config $BUILD_TYPE - cmake --install 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 + - glib-compile-schemas ch.arknet.Turns/share/glib-2.0/schemas + - dbus-run-session -- ctest --preset ci --build-config $BUILD_TYPE artifacts: paths: - - ${CMAKE_INSTALL_PREFIX}/ + - ch.arknet.Turns/ - build/ expire_in: 24 hours parallel: |
