Commit c653454a authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add starpu_simgrid build and test + doc

parent d0f3acb1
...@@ -12,15 +12,32 @@ build_starpu: ...@@ -12,15 +12,32 @@ build_starpu:
expire_in: 48 hours expire_in: 48 hours
paths: paths:
- build - build
- chameleon-build.log - chameleon-build-starpu.log
script: script:
- source .gitlab-ci-env.sh - source .gitlab-ci-env.sh
- git submodule update --init --recursive - git submodule update --init --recursive
- mkdir -p build - mkdir -p build
- cd build - cd build
- cmake .. -DCHAMELEON_USE_MPI=ON -DCMAKE_INSTALL_PREFIX=${PWD}/install -DCMAKE_VERBOSE_MAKEFILE=ON -DMORSE_ENABLE_WARNING=ON -DMORSE_ENABLE_COVERAGE=ON - cmake .. -DCHAMELEON_USE_MPI=ON -DCMAKE_INSTALL_PREFIX=${PWD}/install -DCMAKE_VERBOSE_MAKEFILE=ON -DMORSE_ENABLE_WARNING=ON -DMORSE_ENABLE_COVERAGE=ON
- make | tee ../chameleon-build.log - make | tee ../chameleon-build-starpu.log
- make install | tee -a ../chameleon-build.log - make install | tee -a ../chameleon-build-starpu.log
build_starpu_simgrid:
stage: build
artifacts:
name: starpu_simgrid_build
expire_in: 48 hours
paths:
- build
- chameleon-build-starpu-simgrid.log
script:
- source .gitlab-ci-env.sh simu
- git submodule update --init --recursive
- mkdir -p build
- cd build
- cmake .. -DCHAMELEON_SIMULATION=ON -DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=OFF -DCMAKE_INSTALL_PREFIX=${PWD}/install -DCMAKE_VERBOSE_MAKEFILE=ON -DMORSE_ENABLE_WARNING=ON -DMORSE_ENABLE_COVERAGE=ON
- make | tee ../chameleon-build-starpu-simgrid.log
- make install | tee -a ../chameleon-build-starpu-simgrid.log
build_quark: build_quark:
stage: build stage: build
...@@ -29,15 +46,15 @@ build_quark: ...@@ -29,15 +46,15 @@ build_quark:
expire_in: 48 hours expire_in: 48 hours
paths: paths:
- build - build
- chameleon-build.log - chameleon-build-quark.log
script: script:
- source .gitlab-ci-env.sh - source .gitlab-ci-env.sh
- git submodule update --init --recursive - git submodule update --init --recursive
- mkdir -p build - mkdir -p build
- cd build - cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=${PWD}/install -DCMAKE_VERBOSE_MAKEFILE=ON -DMORSE_ENABLE_WARNING=ON -DMORSE_ENABLE_COVERAGE=ON -DCHAMELEON_SCHED_QUARK=ON - cmake .. -DCMAKE_INSTALL_PREFIX=${PWD}/install -DCMAKE_VERBOSE_MAKEFILE=ON -DMORSE_ENABLE_WARNING=ON -DMORSE_ENABLE_COVERAGE=ON -DCHAMELEON_SCHED_QUARK=ON
- make | tee ../chameleon-build.log - make | tee ../chameleon-build-quark.log
- make install | tee -a ../chameleon-build.log - make install | tee -a ../chameleon-build-quark.log
test_starpu: test_starpu:
stage: test stage: test
...@@ -54,12 +71,27 @@ test_starpu: ...@@ -54,12 +71,27 @@ test_starpu:
- (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.tar.bz2 - find -name "*.gcda" | xargs tar cvjf coverage_starpu.tar.bz2
test_starpu_simgrid:
stage: test
dependencies:
- build_starpu_simgrid
artifacts:
name: starpu_test
expire_in: 48 hours
paths:
- coverage_starpu_simgrid.tar.bz2
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
test_quark: test_quark:
stage: test stage: test
dependencies: dependencies:
- build_quark - build_quark
artifacts: artifacts:
name: starpu_test name: quark_test
expire_in: 48 hours expire_in: 48 hours
paths: paths:
- coverage_quark.tar.bz2 - coverage_quark.tar.bz2
...@@ -73,8 +105,10 @@ sonar: ...@@ -73,8 +105,10 @@ sonar:
stage: analysis stage: analysis
dependencies: dependencies:
- build_starpu - build_starpu
- build_starpu_simgrid
- build_quark - build_quark
- test_starpu - test_starpu
- test_starpu_simgrid
- test_quark - test_quark
artifacts: artifacts:
name: chameleon_analysis name: chameleon_analysis
...@@ -88,45 +122,24 @@ sonar: ...@@ -88,45 +122,24 @@ sonar:
script: script:
- source .gitlab-ci-env.sh - source .gitlab-ci-env.sh
- tar xvjf coverage_starpu.tar.bz2 - tar xvjf coverage_starpu.tar.bz2
- tar xvjf coverage_starpu_simgrid.tar.bz2
- tar xvjf coverage_quark.tar.bz2 - tar xvjf coverage_quark.tar.bz2
- ./tools/analysis.sh - ./tools/analysis.sh
only: only:
- master - master
- issue53/fix-ci - issue53/fix-ci
#starpu-simgrid: doc:
# stage: buildtest artifacts:
# script: name: chameleon_doc
# - source .gitlab-ci-env.sh simu expire_in: 1 week
# - git submodule update --init --recursive paths:
# - mkdir -p build - build/doc/doxygen
# - cd build - build/doc/orgmode
# - cmake .. -DCHAMELEON_SIMULATION=ON -DCHAMELEON_USE_CUDA=ON -DCHAMELEON_USE_MPI=OFF script:
# - make -j2 - source .gitlab-ci-env.sh
# - ctest -V - git submodule update --init --recursive
# - mkdir -p build
#quark: - cd build
# stage: buildtest - cmake .. -DCHAMELEON_ENABLE_DOC=ON -DCHAMELEON_ENABLE_EXAMPLE=OFF -DCHAMELEON_ENABLE_TESTING=OFF -DCHAMELEON_ENABLE_TIMING=OFF
# script: - make doc
# - source .gitlab-ci-env.sh
# - git submodule update --init --recursive
# - mkdir -p build
# - cd build
# - cmake .. -DCHAMELEON_SCHED_QUARK=ON
# - make -j2
# - ctest -V -R test_shm_s
#doc:
# artifacts:
# name: chameleon_doc
# expire_in: 1 week
# paths:
# - build/doc/doxygen
# - build/doc/orgmode
# script:
# - source .gitlab-ci-env.sh
# - git submodule update --init --recursive
# - mkdir -p build
# - cd build
# - cmake .. -DCHAMELEON_ENABLE_DOC=ON -DCHAMELEON_ENABLE_EXAMPLE=OFF -DCHAMELEON_ENABLE_TESTING=OFF -DCHAMELEON_ENABLE_TIMING=OFF
# - make doc
...@@ -51,7 +51,7 @@ sonar.sourceEncoding=UTF-8 ...@@ -51,7 +51,7 @@ sonar.sourceEncoding=UTF-8
sonar.cxx.compiler.charset=UTF-8 sonar.cxx.compiler.charset=UTF-8
sonar.cxx.compiler.parser=GCC sonar.cxx.compiler.parser=GCC
sonar.cxx.compiler.regex=^(.*):(\\d+):\\d+: warning: (.*)\\[(.*)\\]$ sonar.cxx.compiler.regex=^(.*):(\\d+):\\d+: warning: (.*)\\[(.*)\\]$
sonar.cxx.compiler.reportPath=chameleon-build.log sonar.cxx.compiler.reportPath=chameleon-build-starpu.log, chameleon-build-starpu-simgrid.log, chameleon-build-quark.log
sonar.cxx.coverage.reportPath=chameleon-coverage.xml sonar.cxx.coverage.reportPath=chameleon-coverage.xml
sonar.cxx.cppcheck.reportPath=chameleon-cppcheck.xml sonar.cxx.cppcheck.reportPath=chameleon-cppcheck.xml
sonar.cxx.rats.reportPath=chameleon-rats.xml sonar.cxx.rats.reportPath=chameleon-rats.xml
......
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