Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
192d3af6
Commit
192d3af6
authored
Oct 11, 2017
by
PRUVOST Florent
Browse files
cleaning
parent
038be345
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
192d3af6
...
...
@@ -82,13 +82,11 @@ test_starpu_mpi:
name
:
starpu_mpi_test
expire_in
:
48 hours
paths
:
#- coverage_starpu_mpi.tar.bz2
-
chameleon_starpu_mpi.lcov
script
:
-
source .gitlab-ci-env.sh
-
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)
#- find -name "*.gcda" | xargs tar cvjf coverage_starpu_mpi.tar.bz2
-
lcov --directory build --capture --output-file chameleon_starpu_mpi.lcov
test_starpu_simgrid
:
...
...
@@ -99,13 +97,11 @@ test_starpu_simgrid:
name
:
starpu_simgrid_test
expire_in
:
48 hours
paths
:
#- coverage_starpu_simgrid.tar.bz2
-
chameleon_starpu_simgrid.lcov
script
:
-
source .gitlab-ci-env.sh simu
-
git submodule update --init --recursive
-
(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
test_quark
:
...
...
@@ -116,13 +112,11 @@ test_quark:
name
:
quark_test
expire_in
:
48 hours
paths
:
#- coverage_quark.tar.bz2
-
chameleon_quark.lcov
script
:
-
source .gitlab-ci-env.sh
-
git submodule update --init --recursive
-
(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
sonar
:
...
...
@@ -145,16 +139,11 @@ sonar:
-
sonar.log
script
:
-
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
#- genhtml -o coverage chameleon.lcov
-
lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
-
./tools/analysis.sh
only
:
-
master
-
issue53/fix-ci
doc
:
stage
:
doc
...
...
tools/analysis.sh
View file @
192d3af6
#!/bin/bash
# Performs an analysis of Chameleon source code
# We consider to be in Chameleon's source code root
# build with proper options
#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
# Performs an analysis of Chameleon source code:
# - we consider to be in Chameleon's source code root
# - we consider having the coverage file chameleon-coverage.xml in the root directory
# - we consider having cppcheck, rats, sonar-scanner programs available in the environment
# filter sources:
# - consider generated files in build
...
...
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