-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add jobs for CoDiPack tests as well as OpDiLib and MeDiPack tests. Merge pull request #49 from feature/gitlab_ci. Reviewed-by: Max Sagebaum <[email protected]>
- Loading branch information
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
default: | ||
image: ubuntu:22.04 | ||
timeout: 2h | ||
tags: | ||
- docker | ||
|
||
codi-general: | ||
script: | ||
- apt update && apt install -y build-essential binutils | ||
- cd tests/general | ||
- make all | ||
|
||
codi-events: | ||
script: | ||
- apt update && apt install -y build-essential binutils | ||
- cd tests/events | ||
- make all | ||
|
||
codi-functional: | ||
script: | ||
- apt update && apt install -y build-essential binutils | ||
- cd tests/functional | ||
- make all | ||
|
||
codi-examples: | ||
script: | ||
- apt update && apt install -y build-essential binutils | ||
- make examples | ||
|
||
opdi: | ||
script: | ||
- apt update && apt install -y build-essential binutils git | ||
- git clone --depth 1 --branch develop https://github.com/SciCompKL/OpDiLib.git | ||
- export CODI_DIR=$(pwd)/include | ||
- cd OpDiLib | ||
- export OPDI_DIR=$(pwd)/include | ||
- cd tests | ||
- export CXX=g++ | ||
- make all | ||
|
||
medi: | ||
script: | ||
- apt update && apt install -y build-essential binutils git openmpi-bin libopenmpi-dev | ||
- git clone --depth 1 --branch develop https://github.com/SciCompKL/MeDiPack.git | ||
- export CODI_DIR=$(pwd) | ||
- cd MeDiPack/tests | ||
- export OMPI_ALLOW_RUN_AS_ROOT=1 | ||
- export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 | ||
- make all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters