From 45a8815c3a400055abf619bb5a47d67b08d58692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Bl=C3=BChdorn?= Date: Mon, 29 Jan 2024 17:17:26 +0100 Subject: [PATCH 1/6] Add Gitlab CI pipeline. Pipelines for CoDiPack's general tests and event system tests. --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..1cbf8f5b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +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 From 2e646e5a4977af6ac95474616aa6a4ce734d3391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Bl=C3=BChdorn?= Date: Mon, 29 Jan 2024 18:40:15 +0100 Subject: [PATCH 2/6] Add OpDiLib pipeline. --- .gitlab-ci.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1cbf8f5b..0edb31b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,15 +3,26 @@ default: 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 + +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 From 81e277f38d89f7612e3c06230233a8966237e0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Bl=C3=BChdorn?= Date: Mon, 29 Jan 2024 18:54:48 +0100 Subject: [PATCH 3/6] Add MeDiPack pipeline. --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0edb31b3..3495a6b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,3 +26,13 @@ opdi: - 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 From c6a87e053a06ed0636fa019f0b38b8373555bfb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Bl=C3=BChdorn?= Date: Mon, 5 Feb 2024 18:07:07 +0100 Subject: [PATCH 4/6] Pipeline for CoDiPack's functional tests. --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3495a6b8..243eea9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,12 @@ codi-events: - cd tests/events - make all +codi-functional: + script: + - apt update && apt install -y build-essential binutils + - cd tests/functional + - make all + opdi: script: - apt update && apt install -y build-essential binutils git From b5787fb5eef7539882557c75163625791d600476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Bl=C3=BChdorn?= Date: Mon, 5 Feb 2024 18:09:35 +0100 Subject: [PATCH 5/6] Add pipeline for CoDiPack's examples. --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 243eea9a..461b0c5b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,11 @@ codi-functional: - 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 From 3f7b343cc91bb38823a244581e6ee7913d37fbb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Bl=C3=BChdorn?= Date: Tue, 6 Feb 2024 18:34:57 +0100 Subject: [PATCH 6/6] More robust shell script invocation. --- tests/functional/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $(