diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..461b0c5b --- /dev/null +++ b/.gitlab-ci.yml @@ -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 diff --git a/tests/functional/Makefile b/tests/functional/Makefile index 97d61cdc..a7c57cb7 100644 --- a/tests/functional/Makefile +++ b/tests/functional/Makefile @@ -89,7 +89,7 @@ $(BUILD_DIR)/%.exe : %.cpp $(BUILD_DIR)/compiler_flags @mkdir -p $(