From 2f0e695edb30970cd4faa1f21b40db5e3ee2a18f Mon Sep 17 00:00:00 2001 From: Philippe Virouleau <philippe.44@gmail.com> Date: Wed, 21 Nov 2018 14:47:57 +0100 Subject: [PATCH] Enable CI for OpenMP --- .gitlab-ci.yml | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06ae4b92d..ba98290c4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,6 +93,18 @@ build_parsec: BUILD_OPTIONS: "-DCHAMELEON_SCHED=PARSEC" VERSION: parsec +build_openmp: + <<: *build_script + artifacts: + name: build_openmp + expire_in: 48 hours + paths: + - build + - chameleon_openmp.log + variables: + BUILD_OPTIONS: "-DCHAMELEON_SCHED_OPENMP=ON" + VERSION: openmp + test_starpu_branches: <<: *test_script variables: @@ -239,6 +251,42 @@ test_parsec_master: only: - master@solverstack/chameleon +test_openmp_branches: + <<: *test_script + variables: + TESTS_RESTRICTION: "-R \"test_shm_s|test_mpi_s\"" + VERSION: openmp + dependencies: + - build_openmp + artifacts: + name: test_openmp + expire_in: 48 hours + paths: + - build + - chameleon_openmp.log + - chameleon_openmp.lcov + only: + - branches + except: + - master + +test_openmp_master: + <<: *test_script + variables: + TESTS_RESTRICTION: "-R \"_shm_|_mpi_\"" + VERSION: openmp + dependencies: + - build_openmp + artifacts: + name: test_openmp + expire_in: 48 hours + paths: + - build + - chameleon_openmp.log + - chameleon_openmp.lcov + only: + - master@solverstack/chameleon + coverage: stage: analyse dependencies: @@ -246,11 +294,13 @@ coverage: - test_starpu_simgrid_branches - test_quark_branches - test_parsec_branches + - test_openmp_branches script: - lcov -a chameleon_starpu.lcov -a chameleon_starpu_simgrid.lcov -a chameleon_quark.lcov -a chameleon_parsec.lcov + -a chameleon_openmp.lcov -o chameleon.lcov - lcov --summary chameleon.lcov only: @@ -289,6 +339,7 @@ sonarqube: - test_starpu_simgrid_master - test_quark_master - test_parsec_master + - test_openmp_master artifacts: name: chameleon_analysis expire_in: 1 week -- GitLab