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
PhoenixBinaryAnalyzer
Commits
30b4d99b
Commit
30b4d99b
authored
Jun 22, 2021
by
Pierre Aubert
Browse files
Add coverage report
parent
9a65425c
Pipeline
#126257
passed with stages
in 45 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
18 deletions
+27
-18
.gitlab-ci.yml
.gitlab-ci.yml
+27
-18
No files found.
.gitlab-ci.yml
View file @
30b4d99b
...
...
@@ -2,6 +2,7 @@ image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenix/phoenix_minimal:0.
stages
:
-
BuildTestinstall
-
DocCoverage
-
deploy
#- build
...
...
@@ -33,51 +34,49 @@ dailyBuildMasterAll:
-
tags
tags
:
dailyCoverageMasterAll
:
#cache:
#untracked: true
#paths:
#- build/
stage
:
BuildTestinstall
TestCoverage
:
stage
:
DocCoverage
script
:
-
export LD_LIBRARY_PATH=/usr/lib
-
env
-
mkdir -p build
-
mkdir -p build
coverage
-
cd build
-
>
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-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
-
gcovr -r ../
artifacts
:
paths
:
-
coverage
expire_in
:
1d
only
:
-
branches
-
tags
tags
:
pages
:
stage
:
deploy
Doc
:
stage
:
DocCoverage
script
:
-
export LD_LIBRARY_PATH=/usr/lib
-
env
-
rm -fr build public
-
mkdir -p build
-
mkdir -p public
-
mkdir -p build public
-
cd build
-
>
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DRELEASE_MODE=yes
-DDOC_MODE=yes
-
make all
-
make VERBOSE=1
-
make install
-
make doc
-
scp -r doc/
html/
* ../public
-
scp -r doc/* ../public
artifacts
:
paths
:
-
public
...
...
@@ -88,3 +87,13 @@ 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