Commit a844b588 authored by ESTERIE Pierre's avatar ESTERIE Pierre
Browse files

add stages for scalfmm3

parent 5c844c52
image: hpclib/hiepacs
before_script:
- source /usr/share/modules/init/bash && source /usr/local/share/spack/setup-env.sh && spack load cmake
default:
tags: ['docker']
image: registry.gitlab.inria.fr/solverstack/docker/distrib
variables:
GIT_SUBMODULE_STRATEGY: normal
stages:
- scalfmm3
- build
- pages
- test
- test-scalfmm3
- sonar
scalfmm3:
stage: scalfmm3
artifacts:
name: scalfmm3_build
expire_in: 1 day
paths:
- tmp/build3/
script:
- cd tmp/build3/ && cmake ../../experimental -Dscalfmm3_USE_MKL=ON -Dscalfmm3_USE_MPI=ON
- make -j5 2>&1 |tee scalfmm3-build.log
- make -j5 examples 2>&1 |tee scalfmm3-build.log
- make -j5 units 2>&1 |tee scalfmm3-build.log
build:
stage: build
artifacts:
......@@ -49,7 +63,7 @@ doc:
-DSCALFMM_BUILD_DOC=ON
-DCMAKE_C_COMPILER=gcc
-DCMAKE_CXX_COMPILER=g++
- make doc
- make doc
pages:
stage: pages
......@@ -76,7 +90,20 @@ test:
script:
- (cd Build && OMP_NUM_THREADS=4 ctest --no-compress-output -VV -j 5 -D ExperimentalBuild -D ExperimentalTest -D ExperimentalCoverage -D ExperimentalSubmit)
test-scalfmm3:
stage: test-scalfmm3
dependencies:
- scalfmm3
artifacts:
name: scalfmm3_test
expire_in: 1 day
paths:
- tmp/build3
script:
- (cd tmp/build3 && ctest --no-compress-output -VV -j 5 )
sonar:
when: manual
stage: sonar
dependencies:
- test
......@@ -94,5 +121,6 @@ sonar:
- mv Build/scalfmm-build.log .
- source ./Utils/scripts/analysis.sh
- sonar-scanner |tee sonar.log;
only:
- develop@solverstack/ScalFMM
allow_failure: true
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