Add .gitlab-ci.yml file

This commit is contained in:
Rodrigo Arias 2021-12-10 11:48:02 +01:00 committed by Rodrigo Arias
parent 19c535ef02
commit d6c16bdb24

14
.gitlab-ci.yml Normal file
View File

@ -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/