From 06dd6cc32a188fd91b224353acafeb49ecc9b7d8 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 17 Jul 2024 17:05:29 +0200 Subject: ci: reduce configuration again --- .gitlab-ci.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 171ac52..9ea774d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,11 @@ stages: - build - - test - coverage default: image: registry.source.arknet.ch/fmorgner/turns/ci:latest -build: +build-and-test: stage: build variables: CMAKE_INSTALL_PREFIX: "ch.arknet.Turns" @@ -15,6 +14,7 @@ build: - cmake --preset default - cmake --build --preset default --config $BUILD_TYPE - cmake --install build --config $BUILD_TYPE + - ctest --preset default --build-config $BUILD_TYPE artifacts: paths: - ${CMAKE_INSTALL_PREFIX}/ @@ -26,23 +26,6 @@ build: - Debug - MinSizeRel -test: - stage: test - script: - - weston --no-config --socket=$WAYLAND_DISPLAY --backend=headless & - - ctest --preset default --build-config $BUILD_TYPE - artifacts: - paths: - - build/**/*.gcda - - build/**/*.gcno - - build/**/*.res.c - expire_in: 24 hours - parallel: - matrix: - - BUILD_TYPE: - - Debug - - MinSizeRel - coverage: stage: coverage script: @@ -56,7 +39,7 @@ coverage: - coverage.info expire_in: 24 hours needs: - - job: test + - job: build-and-test parallel: matrix: - BUILD_TYPE: Debug -- cgit v1.2.3