ovni/.gitlab-ci.yml

58 lines
1.2 KiB
YAML
Raw Permalink Normal View History

build:debian-testing:
image: debian:testing
tags:
- docker
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:rt-tests:
stage: build
tags:
- nix
script:
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.ovni-rt
build:asan:
stage: build
tags:
- nix
script:
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.ovni-asan
build:no-mpi:
stage: build
tags:
- nix
script:
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.ovni-nompi
2022-12-19 11:24:18 +01:00
build:old-gcc:
stage: build
tags:
- nix
script:
2022-12-19 11:24:18 +01:00
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.oldOvnis
build:old-gcc-no-lto:
stage: build
tags:
- nix
script:
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.oldOvnisNoLTO
build:old-gcc-release:
2022-01-11 17:43:59 +01:00
stage: build
tags:
- nix
script:
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.oldOvnisRelease