Commit 79d54b05 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Consolidating stage artifacts and adding coverage stage.

parent 356adb80
Pipeline #7345 failed with stages
in 4 seconds
.stage_artifacts: &stage_artifacts
artifacts:
paths:
- build/
- TriBITS/
- googletest/
- testframework/
stages:
- configure
- build
- test
- coverage
configure_linux:
stage: configure
tags:
- linux
artifacts:
paths:
- build/
- TriBITS/
- googletest/
- testframework/
<<: *stage_artifacts
script:
- which git
- git --version
......@@ -26,18 +29,13 @@ configure_linux:
- cd build
- module load cmake
- which cmake
- cmake -Dradix_ENABLE_TESTS=ON -Dradix_ENABLE_ams=ON -Dradix_ENABLE_radixio=ON -Dradix_ENABLE_radixmath=ON -Dradix_ENABLE_radixpara=ON -Dradix_ENABLE_radixgeometry=ON ..
- cmake -DCMAKE_BUILD_TYPE=DEBUG -Dradix_ENABLE_COVERAGE_TESTING=ON -Dradix_ENABLE_TESTS=ON -Dradix_ENABLE_ams=ON -Dradix_ENABLE_radixio=ON -Dradix_ENABLE_radixmath=ON -Dradix_ENABLE_radixpara=ON -Dradix_ENABLE_radixgeometry=ON -Dradix_ENABLE_radixglls ..
build_linux:
stage: build
tags:
- linux
artifacts:
paths:
- build/
- TriBITS/
- googletest/
- testframework/
<<: *stage_artifacts
script:
- cd build
- ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalSubmit
......@@ -48,8 +46,19 @@ test_linux:
stage: test
tags:
- linux
<<: *stage_artifacts
script:
- cd build
- ctest -D ExperimentalTest -D ExperimentalSubmit
dependencies:
- build_linux
coverage_linux:
stage: coverage
tags:
- linux
script:
- cd build
- ctest -D ExperimentalCoverage -D ExperimentalSubmit
dependencies:
- test_linux
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment