Commit 29ed46b7 authored by PRUVOST Florent's avatar PRUVOST Florent Committed by Mathieu Faverge

Doc

    improve user's doc style
    add some explanation about the code structure in the main doxygen
    fix coverage in analysis sonarqube
    add a release job to automatize release publication
    change the cdash server to my.cdash.org which is more recent and reactive than cdash.inria.fr
    fix the version number, dates and authors in headers to prepare the release 0.9.2
parent 75528e23
......@@ -9,7 +9,7 @@ stages:
before_script:
- git submodule update --init --recursive
- source .gitlab-ci-env.sh $SIMU
- mkdir -p build
- mkdir -p build-$VERSION
.build_script_template: &build_script
stage: build
......@@ -17,15 +17,15 @@ before_script:
script:
- echo BUILD_OPTIONS $BUILD_OPTIONS
- echo VERSION $VERSION
- (cd build &&
scan-build -plist --intercept-first --analyze-headers -o analyzer_reports
- (cd build-$VERSION &&
scan-build -plist --intercept-first --exclude CMakeFiles --analyze-headers -o analyzer_reports
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake .. $BUILD_OPTIONS &&
scan-build -plist --intercept-first --analyze-headers -o analyzer_reports
scan-build -plist --intercept-first --exclude CMakeFiles --analyze-headers -o analyzer_reports
ctest --no-compress-output -V -j 5
-D ExperimentalBuild
-D ExperimentalSubmit
| tee ../chameleon_${VERSION}.log)
- (cd build &&
- (cd build-$VERSION &&
make install | tee -a ../chameleon_${VERSION}.log &&
rm install/ -r)
......@@ -35,39 +35,38 @@ before_script:
script:
- echo TESTS_RESTRICTION $TESTS_RESTRICTION
- echo VERSION $VERSION
- (cd build &&
- (cd build-$VERSION &&
eval "ctest --no-compress-output -V
$TESTS_RESTRICTION
-D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit
| tee -a ../chameleon_${VERSION}.log")
- lcov --directory build --capture --output-file ./chameleon_${VERSION}.lcov
- lcov --directory build-$VERSION --capture --output-file ./chameleon_${VERSION}.lcov
build_starpu:
build_openmp:
<<: *build_script
artifacts:
name: build_starpu
name: build_openmp
expire_in: 48 hours
paths:
- build
- chameleon_starpu.log
- build-$VERSION
- chameleon_openmp.log
variables:
BUILD_OPTIONS: "-DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=ON"
VERSION: starpu
BUILD_OPTIONS: "-DCHAMELEON_SCHED=OPENMP"
VERSION: openmp
build_starpu_simgrid:
build_parsec:
<<: *build_script
artifacts:
name: build_starpu_simgrid
name: build_parsec
expire_in: 48 hours
paths:
- build
- chameleon_starpu_simgrid.log
- build-$VERSION
- chameleon_parsec.log
variables:
SIMU: simu
BUILD_OPTIONS: "-DCHAMELEON_SIMULATION=ON -DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=OFF"
VERSION: starpu_simgrid
BUILD_OPTIONS: "-DCHAMELEON_SCHED=PARSEC"
VERSION: parsec
build_quark:
<<: *build_script
......@@ -75,109 +74,112 @@ build_quark:
name: build_quark
expire_in: 48 hours
paths:
- build
- build-$VERSION
- chameleon_quark.log
variables:
BUILD_OPTIONS: "-DCHAMELEON_SCHED=QUARK"
VERSION: quark
build_parsec:
build_starpu:
<<: *build_script
artifacts:
name: build_parsec
name: build_starpu
expire_in: 48 hours
paths:
- build
- chameleon_parsec.log
- build-$VERSION
- chameleon_starpu.log
variables:
BUILD_OPTIONS: "-DCHAMELEON_SCHED=PARSEC"
VERSION: parsec
BUILD_OPTIONS: "-DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=ON"
VERSION: starpu
build_openmp:
build_starpu_simgrid:
<<: *build_script
artifacts:
name: build_openmp
name: build_starpu_simgrid
expire_in: 48 hours
paths:
- build
- chameleon_openmp.log
- build-$VERSION
- chameleon_starpu_simgrid.log
variables:
BUILD_OPTIONS: "-DCHAMELEON_SCHED=OPENMP"
VERSION: openmp
SIMU: simu
BUILD_OPTIONS: "-DCHAMELEON_SIMULATION=ON -DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=OFF"
VERSION: starpu_simgrid
test_starpu_branches:
test_openmp_branches:
<<: *test_script
variables:
TESTS_RESTRICTION: "-R \"test_shm_s|test_mpi_s|time_ooc_shm_s|time_ooc_mpi_s\""
VERSION: starpu
TESTS_RESTRICTION: "-R \"test_shm_s|test_mpi_s\""
VERSION: openmp
dependencies:
- build_starpu
- build_openmp
artifacts:
name: test_starpu
name: test_openmp
expire_in: 48 hours
paths:
- build
- chameleon_starpu.log
- chameleon_starpu.lcov
- build-$VERSION
- chameleon_openmp.log
- chameleon_openmp.lcov
only:
- branches
except:
- master
- /^ci-.*$/
test_starpu_master:
test_openmp_master:
<<: *test_script
variables:
TESTS_RESTRICTION: "-R \"_shm_|_mpi_\""
VERSION: starpu
VERSION: openmp
dependencies:
- build_starpu
- build_openmp
artifacts:
name: test_starpu
name: test_openmp
expire_in: 48 hours
paths:
- build
- chameleon_starpu.log
- chameleon_starpu.lcov
- build-$VERSION
- chameleon_openmp.log
- chameleon_openmp.lcov
only:
- master@solverstack/chameleon
- /^ci-.*$/
test_starpu_simgrid_branches:
test_parsec_branches:
<<: *test_script
variables:
SIMU: simu
TESTS_RESTRICTION: "-R simu"
VERSION: starpu_simgrid
TESTS_RESTRICTION: "-R \"test_shm_s|test_mpi_s\""
VERSION: parsec
dependencies:
- build_starpu_simgrid
- build_parsec
artifacts:
name: test_starpu_simgrid
name: test_parsec
expire_in: 48 hours
paths:
- build
- chameleon_starpu_simgrid.log
- chameleon_starpu_simgrid.lcov
- build-$VERSION
- chameleon_parsec.log
- chameleon_parsec.lcov
only:
- branches
except:
- master
- /^ci-.*$/
test_starpu_simgrid_master:
test_parsec_master:
<<: *test_script
variables:
SIMU: simu
TESTS_RESTRICTION: "-R simu"
VERSION: starpu_simgrid
TESTS_RESTRICTION: "-R \"_shm_|_mpi_\""
VERSION: parsec
dependencies:
- build_starpu_simgrid
- build_parsec
artifacts:
name: test_starpu_simgrid
name: test_parsec
expire_in: 48 hours
paths:
- build
- chameleon_starpu_simgrid.log
- chameleon_starpu_simgrid.lcov
- build-$VERSION
- chameleon_parsec.log
- chameleon_parsec.lcov
only:
- master@solverstack/chameleon
- /^ci-.*$/
test_quark_branches:
<<: *test_script
......@@ -190,13 +192,14 @@ test_quark_branches:
name: test_quark
expire_in: 48 hours
paths:
- build
- build-$VERSION
- chameleon_quark.log
- chameleon_quark.lcov
only:
- branches
except:
- master
- /^ci-.*$/
test_quark_master:
<<: *test_script
......@@ -209,83 +212,90 @@ test_quark_master:
name: test_quark
expire_in: 48 hours
paths:
- build
- build-$VERSION
- chameleon_quark.log
- chameleon_quark.lcov
only:
- master@solverstack/chameleon
- /^ci-.*$/
test_parsec_branches:
test_starpu_branches:
<<: *test_script
variables:
TESTS_RESTRICTION: "-R \"test_shm_s|test_mpi_s\""
VERSION: parsec
TESTS_RESTRICTION: "-R \"test_shm_s|test_mpi_s|time_ooc_shm_s|time_ooc_mpi_s\""
VERSION: starpu
dependencies:
- build_parsec
- build_starpu
artifacts:
name: test_parsec
name: test_starpu
expire_in: 48 hours
paths:
- build
- chameleon_parsec.log
- chameleon_parsec.lcov
- build-$VERSION
- chameleon_starpu.log
- chameleon_starpu.lcov
only:
- branches
except:
- master
- /^ci-.*$/
test_parsec_master:
test_starpu_master:
<<: *test_script
variables:
TESTS_RESTRICTION: "-R \"_shm_|_mpi_\""
VERSION: parsec
VERSION: starpu
dependencies:
- build_parsec
- build_starpu
artifacts:
name: test_parsec
name: test_starpu
expire_in: 48 hours
paths:
- build
- chameleon_parsec.log
- chameleon_parsec.lcov
- build-$VERSION
- chameleon_starpu.log
- chameleon_starpu.lcov
only:
- master@solverstack/chameleon
- /^ci-.*$/
test_openmp_branches:
test_starpu_simgrid_branches:
<<: *test_script
variables:
TESTS_RESTRICTION: "-R \"test_shm_s|test_mpi_s\""
VERSION: openmp
SIMU: simu
TESTS_RESTRICTION: "-R simu"
VERSION: starpu_simgrid
dependencies:
- build_openmp
- build_starpu_simgrid
artifacts:
name: test_openmp
name: test_starpu_simgrid
expire_in: 48 hours
paths:
- build
- chameleon_openmp.log
- chameleon_openmp.lcov
- build-$VERSION
- chameleon_starpu_simgrid.log
- chameleon_starpu_simgrid.lcov
only:
- branches
except:
- master
- /^ci-.*$/
test_openmp_master:
test_starpu_simgrid_master:
<<: *test_script
variables:
TESTS_RESTRICTION: "-R \"_shm_|_mpi_\""
VERSION: openmp
SIMU: simu
TESTS_RESTRICTION: "-R simu"
VERSION: starpu_simgrid
dependencies:
- build_openmp
- build_starpu_simgrid
artifacts:
name: test_openmp
name: test_starpu_simgrid
expire_in: 48 hours
paths:
- build
- chameleon_openmp.log
- chameleon_openmp.lcov
- build-$VERSION
- chameleon_starpu_simgrid.log
- chameleon_starpu_simgrid.lcov