ovni/.gitlab-ci.yml

20 lines
526 B
YAML
Raw Normal View History

2022-01-11 17:43:59 +01:00
build:debian-latest:
image: debian:latest
2021-12-10 11:48:02 +01:00
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
- CTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target test
2021-12-10 11:48:02 +01:00
- cmake --build build --target install
artifacts:
paths:
- install/
2022-01-11 17:43:59 +01:00
build:old-glibc:
2022-07-18 16:40:52 +02:00
image: nixos/nix:2.9.2
2022-01-11 17:43:59 +01:00
stage: build
script:
- nix-build nix/old-glibc.nix