From d6c16bdb245136ae1b76e0e5b5b484cd32ea44e6 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 10 Dec 2021 11:48:02 +0100 Subject: [PATCH] Add .gitlab-ci.yml file --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c753390 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +image: debian:latest + +build: + stage: build + before_script: + - apt update && apt -y install make autoconf gfortran libopenmpi-dev cmake + script: + - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=install -S . -B build + - cmake --build build + - cmake --build build --target test + - cmake --build build --target install + artifacts: + paths: + - install/