📣 An issue occured with the embedded container registry on October 25 2021, between 10:30 and 12:10 (UTC+2). Any persisting issues should be reported to CC-IN2P3 Support. 🐛

Commit 909e83e8 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Update CI

parent 3ed8667c
Pipeline #98430 passed with stages
in 4 minutes and 57 seconds
image: ctalapp/cta_analysis
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenix/phoenix_minimal:0.2
stages:
- BuildTestinstall
- DocCoverage
- deploy
#- build
......@@ -9,8 +10,6 @@ stages:
#- deploy
dailyBuildMasterAll:
variables:
CONDA_ENV_DIR: /opt/conda/envs/ctadev
#cache:
#untracked: true
#paths:
......@@ -19,29 +18,53 @@ dailyBuildMasterAll:
stage: BuildTestinstall
script:
- export LD_LIBRARY_PATH=/usr/lib
- source activate ${CONDA_ENV}
- env
- mkdir -p build
- cd build
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DSELF_TESTS_MODE=yes
- make all
- make install
- make test
only:
- branches
- tags
tags:
pages:
variables:
CONDA_ENV_DIR: /opt/conda/envs/ctadev
stage: deploy
TestCoverage:
stage: DocCoverage
script:
- export LD_LIBRARY_PATH=/usr/lib
- env
- mkdir -p build coverage
- cd build
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DSELF_TESTS_MODE=yes
-DCMAKE_BUILD_TYPE=Coverage
- make all
- make install
- make test
- make ExperimentalCoverage
- cd ../coverage
- gcovr -r ../ --html cov_report.html --html-details
- gcovr -r ../ --xml Coverage.xml
artifacts:
paths:
- coverage
expire_in: 1d
only:
- branches
- tags
tags:
Doc:
stage: DocCoverage
script:
- export LD_LIBRARY_PATH=/usr/lib
- source activate ${CONDA_ENV}
- env
- rm -fr build public
- mkdir -p build
......@@ -50,7 +73,6 @@ pages:
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DDOC_MODE=yes
- make all
- make doc
......@@ -65,3 +87,15 @@ pages:
tags:
pages:
stage: deploy
script:
- mv coverage public/
artifacts:
paths:
- public
expire_in: 1d
Markdown is supported
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