Commit c6085442 authored by PRUVOST Florent's avatar PRUVOST Florent

add build with cuda, not test because the inria vms do not provide environnement with GPUs

parent c653454a
...@@ -4,11 +4,12 @@ stages: ...@@ -4,11 +4,12 @@ stages:
- build - build
- test - test
- analysis - analysis
- doc
build_starpu: build_starpu_mpi:
stage: build stage: build
artifacts: artifacts:
name: starpu_build name: starpu_mpi_build
expire_in: 48 hours expire_in: 48 hours
paths: paths:
- build - build
...@@ -22,6 +23,23 @@ build_starpu: ...@@ -22,6 +23,23 @@ build_starpu:
- make | tee ../chameleon-build-starpu.log - make | tee ../chameleon-build-starpu.log
- make install | tee -a ../chameleon-build-starpu.log - make install | tee -a ../chameleon-build-starpu.log
build_starpu_cuda:
stage: build
artifacts:
name: starpu_cuda_build
expire_in: 48 hours
paths:
- build
- chameleon-build-starpu-cuda.log
script:
- source .gitlab-ci-env.sh
- git submodule update --init --recursive
- mkdir -p build
- cd build
- cmake .. -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-cuda.log
- make install | tee -a ../chameleon-build-starpu-cuda.log
build_starpu_simgrid: build_starpu_simgrid:
stage: build stage: build
artifacts: artifacts:
...@@ -56,20 +74,20 @@ build_quark: ...@@ -56,20 +74,20 @@ build_quark:
- make | tee ../chameleon-build-quark.log - make | tee ../chameleon-build-quark.log
- make install | tee -a ../chameleon-build-quark.log - make install | tee -a ../chameleon-build-quark.log
test_starpu: test_starpu_mpi:
stage: test stage: test
dependencies: dependencies:
- build_starpu - build_starpu_mpi
artifacts: artifacts:
name: starpu_test name: starpu_test
expire_in: 48 hours expire_in: 48 hours
paths: paths:
- coverage_starpu.tar.bz2 - coverage_starpu_mpi.tar.bz2
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.tar.bz2 - find -name "*.gcda" | xargs tar cvjf coverage_starpu_mpi.tar.bz2
test_starpu_simgrid: test_starpu_simgrid:
stage: test stage: test
...@@ -104,7 +122,7 @@ test_quark: ...@@ -104,7 +122,7 @@ test_quark:
sonar: sonar:
stage: analysis stage: analysis
dependencies: dependencies:
- build_starpu - build_starpu_mpi
- build_starpu_simgrid - build_starpu_simgrid
- build_quark - build_quark
- test_starpu - test_starpu
...@@ -130,6 +148,7 @@ sonar: ...@@ -130,6 +148,7 @@ sonar:
- issue53/fix-ci - issue53/fix-ci
doc: doc:
stage: doc
artifacts: artifacts:
name: chameleon_doc name: chameleon_doc
expire_in: 1 week expire_in: 1 week
...@@ -141,5 +160,5 @@ doc: ...@@ -141,5 +160,5 @@ doc:
- git submodule update --init --recursive - git submodule update --init --recursive
- mkdir -p build - mkdir -p build
- cd build - cd build
- cmake .. -DCHAMELEON_ENABLE_DOC=ON -DCHAMELEON_ENABLE_EXAMPLE=OFF -DCHAMELEON_ENABLE_TESTING=OFF -DCHAMELEON_ENABLE_TIMING=OFF - cmake .. -DCHAMELEON_ENABLE_DOC=ON
- make doc - 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-starpu.log, chameleon-build-starpu-simgrid.log, chameleon-build-quark.log sonar.cxx.compiler.reportPath=chameleon-build-starpu-mpi.log, chameleon-build-starpu-cuda.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