From aa83eca4a04c461eccfa96c8f950e2bb1e4ca1dc Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Mon, 9 Oct 2017 16:34:19 +0200 Subject: [PATCH] add quark build and test --- .gitlab-ci.yml | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb27ae881..cb9a9151a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,7 @@ build_starpu: expire_in: 42 minutes paths: - build + - chameleon-build.log script: - source .gitlab-ci-env.sh - git submodule update --init --recursive @@ -21,6 +22,23 @@ build_starpu: - make | tee ../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: stage: test dependencies: @@ -29,24 +47,40 @@ test_starpu: name: starpu_test expire_in: 42 minutes paths: - - coverage.tar.bz2 + - coverage_starpu.tar.bz2 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.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: stage: analysis dependencies: - build_starpu + - build_quark - test_starpu + - test_quark artifacts: name: chameleon_analysis expire_in: 1 week paths: - chameleon-build.log - - coverage/ - chameleon-coverage.xml - chameleon-cppcheck.xml - chameleon-rats.xml -- GitLab