-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
57 lines (51 loc) · 1.06 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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:local:
stage: build
tags:
- nix
script:
- nix build -L --no-link .#ovniPackages.local
build:rt:
stage: build
tags:
- nix
script:
- nix build -L --no-link .#ovniPackages.rt
build:debug:
stage: build
tags:
- nix
script:
- nix build -L --no-link .#ovniPackages.debug
build:asan:
stage: build
tags:
- nix
script:
- nix build -L --no-link .#ovniPackages.asan
build:nompi:
stage: build
tags:
- nix
script:
- nix build -L --no-link .#ovniPackages.nompi
build:compilers:
stage: build
tags:
- nix
script:
- nix build -L --no-link .#ovniPackages.compilers