4208
by remche
4 cpu for build |
1 |
image: registry.gitlab.com/remche/docker-yade |
4207
by remche
adding gitlab-ci |
2 |
stages: |
3 |
- cmake |
|
4 |
- build |
|
4210
by remche
more complete ci |
5 |
- test |
4215
by remche
test doc generation |
6 |
- doc |
4447
by Bruno Chareyre
upload pages from master only (merge requests excluded) |
7 |
- pages |
4210
by remche
more complete ci |
8 |
|
4207
by remche
adding gitlab-ci |
9 |
cmake: |
10 |
stage: cmake |
|
4232
by Bruno Chareyre
fix syntax in .gitlab-ci.yml |
11 |
only: |
12 |
- master |
|
4233
by Bruno Chareyre
CI pipeline for merge_request's also |
13 |
- merge_request |
4207
by remche
adding gitlab-ci |
14 |
script: |
15 |
- mkdir build && cd build |
|
4214
by remche
fix install dir |
16 |
- cmake -DSUFFIX=-ci -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=../install -DDISABLE_SAVE_TEMPS=1 .. |
4207
by remche
adding gitlab-ci |
17 |
artifacts: |
18 |
paths: |
|
19 |
- build |
|
20 |
||
21 |
make: |
|
22 |
stage: build |
|
4232
by Bruno Chareyre
fix syntax in .gitlab-ci.yml |
23 |
only: |
24 |
- master |
|
4233
by Bruno Chareyre
CI pipeline for merge_request's also |
25 |
- merge_request |
4207
by remche
adding gitlab-ci |
26 |
script: |
27 |
- cd build |
|
4229
by bchareyre
increase make -j12 |
28 |
- make -j 12 |
4213
by remche
make and install in the same job |
29 |
- make install |
4212
by remche
clean build for artifact and relative path for install |
30 |
- make clean |
4207
by remche
adding gitlab-ci |
31 |
artifacts: |
32 |
paths: |
|
4213
by remche
make and install in the same job |
33 |
- install |
4207
by remche
adding gitlab-ci |
34 |
dependencies: |
4210
by remche
more complete ci |
35 |
- cmake |
36 |
||
37 |
test: |
|
38 |
stage: test |
|
4232
by Bruno Chareyre
fix syntax in .gitlab-ci.yml |
39 |
only: |
40 |
- master |
|
4233
by Bruno Chareyre
CI pipeline for merge_request's also |
41 |
- merge_request |
4210
by remche
more complete ci |
42 |
script: |
4212
by remche
clean build for artifact and relative path for install |
43 |
- install/bin/yade-ci --test |
4210
by remche
more complete ci |
44 |
dependencies: |
4213
by remche
make and install in the same job |
45 |
- make |
4210
by remche
more complete ci |
46 |
|
47 |
check: |
|
48 |
stage: test |
|
4232
by Bruno Chareyre
fix syntax in .gitlab-ci.yml |
49 |
only: |
50 |
- master |
|
4233
by Bruno Chareyre
CI pipeline for merge_request's also |
51 |
- merge_request |
4210
by remche
more complete ci |
52 |
script: |
4212
by remche
clean build for artifact and relative path for install |
53 |
- install/bin/yade-ci --checks |
4210
by remche
more complete ci |
54 |
dependencies: |
4213
by remche
make and install in the same job |
55 |
- make |
4210
by remche
more complete ci |
56 |
|
4447
by Bruno Chareyre
upload pages from master only (merge requests excluded) |
57 |
doc: |
4215
by remche
test doc generation |
58 |
stage: doc |
4232
by Bruno Chareyre
fix syntax in .gitlab-ci.yml |
59 |
only: |
60 |
- master |
|
4233
by Bruno Chareyre
CI pipeline for merge_request's also |
61 |
- merge_request |
4215
by remche
test doc generation |
62 |
script: |
63 |
- cd build |
|
4217
by remche
fix depth for xvfb-run |
64 |
- xvfb-run -s "-screen 0 1600x1200x24" make doc |
4447
by Bruno Chareyre
upload pages from master only (merge requests excluded) |
65 |
dependencies: |
66 |
- cmake |
|
67 |
- make |
|
68 |
artifacts: |
|
69 |
paths: |
|
70 |
- install |
|
71 |
||
72 |
pages: |
|
73 |
stage: pages |
|
74 |
only: |
|
75 |
- master |
|
76 |
script: |
|
4448
by Bruno Chareyre
fix paths in gitlab-ci stage |
77 |
- mv install/share/doc/yade-ci/html public |
78 |
- mv install/share/doc/yade-ci/Yade.pdf public |
|
79 |
- mv install/share/doc/yade-ci/Yade.epub public |
|
4215
by remche
test doc generation |
80 |
dependencies: |
4447
by Bruno Chareyre
upload pages from master only (merge requests excluded) |
81 |
- doc |
4215
by remche
test doc generation |
82 |
artifacts: |
83 |
paths: |
|
84 |
- public |
|
4210
by remche
more complete ci |
85 |