Commit 192d3af6 authored by PRUVOST Florent's avatar PRUVOST Florent

cleaning

parent 038be345
Pipeline #8282 canceled with stages
in 6 minutes and 18 seconds
...@@ -82,13 +82,11 @@ test_starpu_mpi: ...@@ -82,13 +82,11 @@ test_starpu_mpi:
name: starpu_mpi_test name: starpu_mpi_test
expire_in: 48 hours expire_in: 48 hours
paths: paths:
#- coverage_starpu_mpi.tar.bz2
- chameleon_starpu_mpi.lcov - chameleon_starpu_mpi.lcov
script: script:
- source .gitlab-ci-env.sh - source .gitlab-ci-env.sh
- git submodule update --init --recursive - git submodule update --init --recursive
- (cd build && STARPU_SILENT=1 ctest --no-compress-output -R test_shm_s || /usr/bin/true && ctest --no-compress-output -R mpi_s || /usr/bin/true) - (cd build && STARPU_SILENT=1 ctest --no-compress-output -R test_shm_s || /usr/bin/true && ctest --no-compress-output -R mpi_s || /usr/bin/true)
#- find -name "*.gcda" | xargs tar cvjf coverage_starpu_mpi.tar.bz2
- lcov --directory build --capture --output-file chameleon_starpu_mpi.lcov - lcov --directory build --capture --output-file chameleon_starpu_mpi.lcov
test_starpu_simgrid: test_starpu_simgrid:
...@@ -99,13 +97,11 @@ test_starpu_simgrid: ...@@ -99,13 +97,11 @@ test_starpu_simgrid:
name: starpu_simgrid_test name: starpu_simgrid_test
expire_in: 48 hours expire_in: 48 hours
paths: paths:
#- coverage_starpu_simgrid.tar.bz2
- chameleon_starpu_simgrid.lcov - chameleon_starpu_simgrid.lcov
script: script:
- source .gitlab-ci-env.sh simu - source .gitlab-ci-env.sh simu
- git submodule update --init --recursive - git submodule update --init --recursive
- (cd build && STARPU_SILENT=1 ctest --no-compress-output -V || /usr/bin/true) - (cd build && STARPU_SILENT=1 ctest --no-compress-output -V || /usr/bin/true)
#- find -name "*.gcda" | xargs tar cvjf coverage_starpu_simgrid.tar.bz2
- lcov --directory build --capture --output-file chameleon_starpu_simgrid.lcov - lcov --directory build --capture --output-file chameleon_starpu_simgrid.lcov
test_quark: test_quark:
...@@ -116,13 +112,11 @@ test_quark: ...@@ -116,13 +112,11 @@ test_quark:
name: quark_test name: quark_test
expire_in: 48 hours expire_in: 48 hours
paths: paths:
#- coverage_quark.tar.bz2
- chameleon_quark.lcov - chameleon_quark.lcov
script: script:
- source .gitlab-ci-env.sh - source .gitlab-ci-env.sh
- git submodule update --init --recursive - git submodule update --init --recursive
- (cd build && ctest --no-compress-output -R test_shm_s) - (cd build && ctest --no-compress-output -R test_shm_s)
#- find -name "*.gcda" | xargs tar cvjf coverage_quark.tar.bz2
- lcov --directory build --capture --output-file chameleon_quark.lcov - lcov --directory build --capture --output-file chameleon_quark.lcov
sonar: sonar:
...@@ -145,16 +139,11 @@ sonar: ...@@ -145,16 +139,11 @@ sonar:
- sonar.log - sonar.log
script: script:
- source .gitlab-ci-env.sh - source .gitlab-ci-env.sh
#- tar xvjf coverage_starpu_simgrid.tar.bz2
#- tar xvjf coverage_starpu_mpi.tar.bz2
#- tar xvjf coverage_quark.tar.bz2
- lcov -a $PWD/chameleon_starpu_mpi.lcov -a $PWD/chameleon_starpu_simgrid.lcov -a $PWD/chameleon_quark.lcov -o $PWD/chameleon.lcov - lcov -a $PWD/chameleon_starpu_mpi.lcov -a $PWD/chameleon_starpu_simgrid.lcov -a $PWD/chameleon_quark.lcov -o $PWD/chameleon.lcov
#- genhtml -o coverage chameleon.lcov
- lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml - lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
- ./tools/analysis.sh - ./tools/analysis.sh
only: only:
- master - master
- issue53/fix-ci
doc: doc:
stage: doc stage: doc
......
#!/bin/bash #!/bin/bash
# Performs an analysis of Chameleon source code # Performs an analysis of Chameleon source code:
# We consider to be in Chameleon's source code root # - we consider to be in Chameleon's source code root
# - we consider having the coverage file chameleon-coverage.xml in the root directory
# build with proper options # - we consider having cppcheck, rats, sonar-scanner programs available in the environment
#mkdir -p build
#cd build
#rm * -rf
#cmake .. -DCHAMELEON_USE_MPI=ON -DCMAKE_INSTALL_PREFIX=$PWD/install -DCMAKE_VERBOSE_MAKEFILE=ON -DMORSE_ENABLE_WARNING=ON -DMORSE_ENABLE_COVERAGE=ON
#make -j5 | tee ../chameleon-build.log
# run tests
#STARPU_SILENT=1 ctest --no-compress-output || /usr/bin/true
# capture coverage
#lcov --directory . --capture --output-file ../chameleon.lcov
#lcov --directory build --capture --output-file chameleon.lcov
#cd ..
#genhtml -o coverage chameleon.lcov
#lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
# filter sources: # filter sources:
# - consider generated files in build # - consider generated files in build
......
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