-
Mathieu Faverge authoredMathieu Faverge authored
.gitlab-ci.yml 4.58 KiB
image: hpclib/hiepacs
stages:
- build
- test
- analysis
- doc
before_script:
- git submodule update --init --recursive
- source .gitlab-ci-env.sh
- mkdir -p build
build_starpu_cuda_mpi:
stage: build
artifacts:
name: build_starpu_cuda_mpi
expire_in: 48 hours
paths:
- build
- chameleon-build-starpu.log
script:
- (cd build &&
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake ..
-DCHAMELEON_USE_CUDA=ON
-DCHAMELEON_USE_MPI=ON &&
ctest --no-compress-output -V -j 5
-D ExperimentalBuild
-D ExperimentalSubmit
| tee ../chameleon-build-starpu.log)
- (cd build &&
make install | tee -a ../chameleon-build-starpu.log &&
rm install/ -r)
test_starpu_cuda_mpi:
stage: test
dependencies:
- build_starpu_cuda_mpi
artifacts:
name: test_starpu_cuda_mpi
expire_in: 48 hours
paths:
- build
- chameleon-build-starpu.log
- chameleon_starpu_mpi.lcov
script:
- (cd build &&
ctest --no-compress-output -V
-R "test_shm_s|mpi_s"
-D ExperimentalTest
-D ExperimentalCoverage
-D ExperimentalSubmit
| tee -a ../chameleon-build-starpu.log)
- lcov --directory build --capture --output-file chameleon_starpu_mpi.lcov
build_starpu_simgrid:
stage: build
artifacts:
name: build_starpu_simgrid
expire_in: 48 hours
paths:
- build
- chameleon-build-starpu-simgrid.log
script:
- source .gitlab-ci-env.sh simu
- (cd build &&
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake ..
-DCHAMELEON_SIMULATION=ON
-DCHAMELEON_USE_CUDA=ON
-DCHAMELEON_USE_MPI=OFF &&