Mentions légales du service

Skip to content
Snippets Groups Projects
Commit aa83eca4 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add quark build and test

parent 38ecdf49
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ build_starpu: ...@@ -12,6 +12,7 @@ build_starpu:
expire_in: 42 minutes expire_in: 42 minutes
paths: paths:
- build - build
- chameleon-build.log
script: script:
- source .gitlab-ci-env.sh - source .gitlab-ci-env.sh
- git submodule update --init --recursive - git submodule update --init --recursive
...@@ -21,6 +22,23 @@ build_starpu: ...@@ -21,6 +22,23 @@ build_starpu:
- make | tee ../chameleon-build.log - make | tee ../chameleon-build.log
- make install | tee -a ../chameleon-build.log - make install | tee -a ../chameleon-build.log
build_quark:
stage: build
artifacts:
name: quark_build
expire_in: 42 minutes
paths:
- build
- chameleon-build.log
script:
- source .gitlab-ci-env.sh
- git submodule update --init --recursive
- mkdir -p 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
- make | tee ../chameleon-build.log
- make install | tee -a ../chameleon-build.log
test_starpu: test_starpu:
stage: test stage: test
dependencies: dependencies:
...@@ -29,24 +47,40 @@ test_starpu: ...@@ -29,24 +47,40 @@ test_starpu:
name: starpu_test name: starpu_test
expire_in: 42 minutes expire_in: 42 minutes
paths: paths:
- coverage.tar.bz2 - coverage_starpu.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.tar.bz2 - find -name "*.gcda" | xargs tar cvjf coverage_starpu.tar.bz2
test_quark:
stage: test
dependencies:
- build_quark
artifacts:
name: starpu_test
expire_in: 42 minutes
paths:
- coverage_quark.tar.bz2
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
sonar: sonar:
stage: analysis stage: analysis
dependencies: dependencies:
- build_starpu - build_starpu
- build_quark
- test_starpu - test_starpu
- test_quark
artifacts: artifacts:
name: chameleon_analysis name: chameleon_analysis
expire_in: 1 week expire_in: 1 week
paths: paths:
- chameleon-build.log - chameleon-build.log
- coverage/
- chameleon-coverage.xml - chameleon-coverage.xml
- chameleon-cppcheck.xml - chameleon-cppcheck.xml
- chameleon-rats.xml - chameleon-rats.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment