Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
ScalFMM
Commits
f046d04d
Commit
f046d04d
authored
Mar 05, 2018
by
PRUVOST Florent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update gitlab-ci pipeline to perform a recurrence of 3 steps: build, test, sonar
parent
d5a5ec43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
5 deletions
+42
-5
.gitlab-ci.yml
.gitlab-ci.yml
+42
-5
No files found.
.gitlab-ci.yml
View file @
f046d04d
...
...
@@ -3,40 +3,77 @@ image: hpclib/scalfmm
stages
:
-
build
-
test
-
sonar
build
:
stage
:
build
artifacts
:
name
:
scalfmm_build
expire_in
:
1 day
paths
:
-
Build/
script
:
-
cd Build && cmake ..
-DSCALFMM_USE_LOG=ON
-DSCALFMM_USE_ASSERT=ON
-DSCALFMM_USE_SSE=OFF
-DSCALFMM_USE_AVX=OFF
-DSCALFMM_USE_BLAS=ON
-DSCALFMM_USE_FFT=ON
-DSCALFMM_USE_MPI=ON
-DSCALFMM_USE_STARPU=ON
-DSCALFMM_BUILD_EXAMPLES=ON
-DSCALFMM_BUILD_TESTS=O
FF
-DSCALFMM_BUILD_UTESTS=O
FF
-DSCALFMM_BUILD_TESTS=O
N
-DSCALFMM_BUILD_UTESTS=O
N
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_C_COMPILER=gcc-6
-DCMAKE_CXX_COMPILER=g++-6
-
make -j8
-
make -j5 2>&1 |tee scalfmm-build.log
doc
:
stage
:
build
artifacts
:
name
:
scalfmm_doc
expire_in
:
1 day
paths
:
-
Build/Doc/html
script
:
-
cd Build && cmake ..
-DSCALFMM_BUILD_DOC=ON
-DCMAKE_C_COMPILER=gcc-6
-DCMAKE_CXX_COMPILER=g++-6
-
make doc
test
:
stage
:
test
dependencies
:
-
build
artifacts
:
name
:
scalfmm_test
expire_in
:
1 day
paths
:
-
Build/
script
:
-
(cd Build && OMP_NUM_THREADS=4 ctest --no-compress-output -V -j 5 -D ExperimentalBuild -D ExperimentalTest -D ExperimentalCoverage -D ExperimentalSubmit)
sonar
:
stage
:
sonar
dependencies
:
-
test
artifacts
:
name
:
scalfmm_sonar
expire_in
:
1 day
paths
:
-
scalfmm-build.log
-
scalfmm.lcov
-
scalfmm-coverage.xml
-
scalfmm-cppcheck.xml
-
scalfmm-rats.xml
-
sonar-project.properties
-
sonar.log
script
:
-
mv Build/scalfmm-build.log .
-
source ./Utils/scripts/analysis.sh
-
sonar-scanner |tee sonar.log
-
if [[ $CI_REPOSITORY_URL = *"solverstack/ScalFMM"* ]] && [[ $CI_COMMIT_REF_NAME = *"develop"* ]]; then
sonar-scanner
-X 2>&1
|tee sonar.log;
sonar-scanner |tee sonar.log;
fi
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