forked from selalib/selalib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
66 lines (62 loc) · 1.17 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
58
59
60
61
62
63
64
65
66
ubuntu-mpich:
stage: build
allow_failure: true
script:
- mkdir -p build
- cd build && cmake -DCMAKE_BUILD_TYPE=Release -DHDF5_PARALLEL_ENABLED=ON .. && make -j
only:
- main
tags:
- ubuntu
- mpich
fedora-openmpi:
stage: build
allow_failure: true
script:
- mkdir -p build
- source /etc/profile.d/modules.sh && module load mpi/openmpi-x86_64
- cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DHDF5_PARALLEL_ENABLED=ON .. && make -j
only:
- main
tags:
- fedora
- openmpi
ubuntu-build:
image: pnavaro/selalib
stage: build
script:
- mkdir -p build
- cd build && cmake .. -DHDF5_PARALLEL_ENABLED=ON && make -j
artifacts:
paths:
- build
tags:
- docker
ubuntu-test:
image: pnavaro/selalib
stage: test
allow_failure: true
script:
- cd build && make test
artifacts:
paths:
- build
only:
- main
tags:
- docker
pages:
image: pnavaro/selalib
stage: deploy
script:
- cd build && make doc-dev
- cd ../doc && make
- mv build/html ../public
- mv ../build/doc/html ../public/doc
artifacts:
paths:
- public
only:
- main
tags:
- docker