Commit 243a50b9 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Adding linux mpi builds to stages in gitlab-ci.

parent d74319dc
Pipeline #7347 failed with stages
in 17 seconds
......@@ -62,3 +62,53 @@ coverage_linux:
- ctest -D ExperimentalCoverage -D ExperimentalSubmit
dependencies:
- test_linux
configure_linux_mpi:
stage: configure
tags:
- linux
<<: *stage_artifacts
script:
- which git
- git --version
- git clone https://github.com/lefebvre/TriBITS.git TriBITS
- which python
- python --version
- python TriBITS/tribits/python_utils/gitdist.py pull
- mkdir build
- cd build
- module load cmake openmpi
- which cmake
- cmake -DTPL_ENABLE_MPI=ON -DMPI_BASE_DIR=`dirname $(dirname $(which mpicc))` -DCMAKE_BUILD_TYPE=DEBUG -Dradix_ENABLE_TESTS=ON -Dradix_ENABLE_radixpara=ON ..
build_linux_mpi:
stage: build
tags:
- linux
<<: *stage_artifacts
script:
- cd build
- ctest -D ExperimentalStart -D ExperimentalBuild -D ExperimentalSubmit
dependencies:
- configure_linux_mpi
test_linux_mpi:
stage: test
tags:
- linux
<<: *stage_artifacts
script:
- cd build
- ctest -D ExperimentalTest -D ExperimentalSubmit
dependencies:
- build_linux_mpi
coverage_linux_mpi:
stage: coverage
tags:
- linux
script:
- cd build
- ctest -D ExperimentalCoverage -D ExperimentalSubmit
dependencies:
- test_linux_mpi
Supports Markdown
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