From c36fe346b346118c94741efedae10cf8cb6a9031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20L=C3=BCbke?= Date: Fri, 20 Dec 2024 09:03:55 +0100 Subject: [PATCH] Refactor CI pipeline by removing the build stage and adjusting test job dependencies --- .gitlab-ci.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 296fa8b5c..1bec0d9b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,6 @@ image: git.gfz-potsdam.de:5000/naaice/poet:ci stages: # List of stages for jobs, and their order of execution - release - - build - test variables: @@ -28,26 +27,11 @@ variables: SOURCE_ARCHIVE_NAME: 'poet_${CI_COMMIT_TAG}_sources.tar.gz' CHANGELOG_FILE: 'commit_changelog.md' -build-poet: # This job runs in the build stage, which runs first. - stage: build +test: # This job runs in the build stage, which runs first. + stage: test script: - mkdir -p build && cd build - - cmake -DPOET_ENABLE_TESTING=ON -DPOET_PREPROCESS_BENCHS=OFF .. - - make -j$(nproc) - cache: - key: build-$CI_COMMIT_BRANCH - paths: - - build - artifacts: - paths: - - build - -test-poet: - stage: test - dependencies: - - build-poet - script: - - cd build + - cmake -DPOET_ENABLE_TESTING=ON -DPOET_PREPROCESS_BENCHS=OFF -DCMAKE_BUILD_TYPE=Release .. - make -j$(nproc) check pages: