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: