Commit 2f0e695e authored by Philippe Virouleau's avatar Philippe Virouleau

Enable CI for OpenMP

parent e6282e91
...@@ -93,6 +93,18 @@ build_parsec: ...@@ -93,6 +93,18 @@ build_parsec:
BUILD_OPTIONS: "-DCHAMELEON_SCHED=PARSEC" BUILD_OPTIONS: "-DCHAMELEON_SCHED=PARSEC"
VERSION: 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_starpu_branches:
<<: *test_script <<: *test_script
variables: variables:
...@@ -239,6 +251,42 @@ test_parsec_master: ...@@ -239,6 +251,42 @@ test_parsec_master:
only: only:
- master@solverstack/chameleon - 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: coverage:
stage: analyse stage: analyse
dependencies: dependencies:
...@@ -246,11 +294,13 @@ coverage: ...@@ -246,11 +294,13 @@ coverage:
- test_starpu_simgrid_branches - test_starpu_simgrid_branches
- test_quark_branches - test_quark_branches
- test_parsec_branches - test_parsec_branches
- test_openmp_branches
script: script:
- lcov -a chameleon_starpu.lcov - lcov -a chameleon_starpu.lcov
-a chameleon_starpu_simgrid.lcov -a chameleon_starpu_simgrid.lcov
-a chameleon_quark.lcov -a chameleon_quark.lcov
-a chameleon_parsec.lcov -a chameleon_parsec.lcov
-a chameleon_openmp.lcov
-o chameleon.lcov -o chameleon.lcov
- lcov --summary chameleon.lcov - lcov --summary chameleon.lcov
only: only:
...@@ -289,6 +339,7 @@ sonarqube: ...@@ -289,6 +339,7 @@ sonarqube:
- test_starpu_simgrid_master - test_starpu_simgrid_master
- test_quark_master - test_quark_master
- test_parsec_master - test_parsec_master
- test_openmp_master
artifacts: artifacts:
name: chameleon_analysis name: chameleon_analysis
expire_in: 1 week expire_in: 1 week
......
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