-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
100 lines (91 loc) · 1.88 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
image: ubuntu:20.04
before_script:
- apt-get -y update
- apt-get -y install gcc
- apt-get -y install g++
- apt-get -y install gfortran
- apt-get -y install libgl-dev
- apt-get -y install libglu-dev
- apt-get -y install libglew-dev
# - apt-get -y install libocct-modeling-algorithms-dev
# - apt-get -y install libocct-modeling-data-dev
# - apt-get -y install libocct-ocaf-dev
- apt-get -y install liboce-modeling-dev
- apt-get -y install liboce-ocaf-dev
- apt-get -y install libboost-dev
- apt-get -y install ruby-dev
- apt-get -y install swig
- apt-get -y install cmake
build_revocap:
stage: build
script:
- mkdir build
- cd build
- cmake -DWITH_TEST=ON ..
- make
artifacts:
paths:
- build
build_refiner_cmake:
stage: build
script:
- mkdir build_refiner_cmake
- cd build_refiner_cmake
- cmake ..
- make RcapRefiner
artifacts:
paths:
- build_refiner_cmake
build_oce_ext:
stage: build
script:
- dpkg -L liboce-foundation-dev
- ls /usr/lib/x86_64-linux-gnu/
- mkdir build_oce
- cd build_oce
- cmake -DWITH_EXTENSION=ON -DWITH_OCE=ON -DWITH_TEST=ON .. -LA
- make
artifacts:
paths:
- build_oce
build_extension:
stage: build
script:
- mkdir build_ext
- cd build_ext
- cmake -DWITH_EXTENSION=ON -DWITH_TEST=ON ..
- make
artifacts:
paths:
- build_ext
build_refiner:
stage: build
script:
- make Refiner
artifacts:
paths:
- lib
test_revocap:
stage: test
script:
- cd build
- make test
artifacts:
paths:
- build/Testing/Temporary
test_revocap_ext:
stage: test
script:
- cd build_ext/TestRuby
- make test
artifacts:
paths:
- build_ext/Testing/Temporary
test_revocap_oce:
stage: test
script:
- cd build_oce
- make test
artifacts:
paths:
- build_oce/Testing/Temporary