Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixFileGenerator
Commits
909e83e8
Commit
909e83e8
authored
Jan 06, 2021
by
Pierre Aubert
Browse files
Update CI
parent
3ed8667c
Pipeline
#98430
passed with stages
in 4 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
11 deletions
+45
-11
.gitlab-ci.yml
.gitlab-ci.yml
+45
-11
No files found.
.gitlab-ci.yml
View file @
909e83e8
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment