ovni/.gitlab-ci.yml
Rodrigo Arias 8a92023cf3 Enable Asan tests in CI
For now memory leaks are ignored.
2023-04-24 12:29:58 +02:00

58 lines
1.2 KiB
YAML

build:debian-testing:
image: debian:testing
tags:
- docker
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
- cmake --build build --target install
artifacts:
paths:
- install/
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
build:old-gcc:
stage: build
tags:
- nix
script:
- 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:
stage: build
tags:
- nix
script:
- nix build -L --tarball-ttl 0 --file nix/rt.nix bsc.oldOvnisRelease