Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 00d9f606 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

build directory is too large (2Go) for gitlab's artifacts with these flags,...

build directory is too large (2Go) for gitlab's artifacts with these flags, remove them and comment code coverage reporting (flags are necessary to it)
parent faf30b99
No related branches found
No related tags found
No related merge requests found
Pipeline #1101513 passed
......@@ -49,7 +49,7 @@ build:
-Dscalfmm_BUILD_TOOLS=ON
-Dscalfmm_BUILD_CHECK=ON
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_CXX_FLAGS="-O0 -g -Wall -fPIC -fno-inline --coverage"
#-DCMAKE_CXX_FLAGS="-O0 -g -Wall -fPIC -fno-inline --coverage"
- cmake --build build -j 4 > /dev/null
- cmake --build build -j 4 --target examples > /dev/null
- cmake --build build -j 4 --target units > /dev/null
......@@ -57,6 +57,7 @@ build:
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
expire_in: 1 week
paths: [build]
untracked: true
test:
......@@ -68,14 +69,14 @@ test:
OMP_NUM_THREADS: 4
script:
- ctest --test-dir build --output-on-failure --no-compress-output --output-junit $PWD/test.xml
- gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o coverage.xml --root $PWD
coverage: /^\s*lines......:\s*\d+.\d+\%/
#- gcovr --xml-pretty --exclude-unreachable-branches --print-summary -o coverage.xml --root $PWD
#coverage: /^\s*lines......:\s*\d+.\d+\%/
artifacts:
reports:
junit: test.xml
coverage_report:
coverage_format: cobertura
path: coverage.xml
#coverage_report:
# coverage_format: cobertura
# path: coverage.xml
pages:
stage: deploy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment