Newer
Older
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
stages:
- BuildTestinstall
- DocCoverage
- deploy
dailyBuildMasterAll:
#cache:
#untracked: true
#paths:
#- build/
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixcmake/phoenix_cmake_ubuntu_2204:latest
stage: BuildTestinstall
script:
- export LD_LIBRARY_PATH=/usr/lib
- env
- mkdir -p build
- cd build
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DSELF_TESTS_MODE=yes
-DCMAKE_MODULE_PATH=/usr/share/cmake
- make all
- make install
- make test || cat ./Testing/Temporary/LastTest.log
only:
- branches
- tags
tags:
- MUST_big_runner
#dailyBuildDynamicAndStatic:
#image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixcmake/phoenix_cmake_ubuntu_2204:latest
#stage: BuildTestinstall
#script:
#- export LD_LIBRARY_PATH=/usr/lib
#- env
#- mkdir -p build
#- cd build
#- >
#cmake ..
#-DCMAKE_INSTALL_PREFIX=/usr
#-DRELEASE_MODE=yes
#-DSELF_TESTS_MODE=yes
#-DPHOENIX_BUILD_TYPE=DynamicAndStatic
#- make all
#- make install
#- make test
#only:
#- branches
#- tags
#tags:
#- MUST_big_runner
#dailyBuildStaticOnly:
#image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixcmake/phoenix_cmake_ubuntu_2204:latest
#stage: BuildTestinstall
#script:
#- export LD_LIBRARY_PATH=/usr/lib
#- env
#- mkdir -p build
#- cd build
#- >
#cmake ..
#-DCMAKE_INSTALL_PREFIX=/usr
#-DRELEASE_MODE=yes
#-DSELF_TESTS_MODE=yes
#-DPHOENIX_BUILD_TYPE=StaticOnly
#- make all
#- make install
#- make test
#only:
#- branches
#- tags
#tags:
#- MUST_big_runner
TestCoverage:
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixcmake/phoenix_cmake_ubuntu_2204:latest
stage: DocCoverage
script:
- export LD_LIBRARY_PATH=/usr/lib
- env
- mkdir -p build coverage
- cd build
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DSELF_TESTS_MODE=yes
-DCMAKE_BUILD_TYPE=Coverage
-DCMAKE_MODULE_PATH=/usr/share/cmake
- make all
- make install
- make test
- ./uninstall_phoenixsocket
- cd ../coverage
- gcovr -r ../ --exclude-throw-branches --html cov_report.html --html-details
- gcovr -r ../ --exclude-throw-branches --xml Coverage.xml
- gcovr -r ../ --exclude-throw-branches
coverage: '/TOTAL.*\s+(\d+\%)$/'
artifacts:
paths:
- coverage
expire_in: 8d
only:
- branches
- tags
tags:
- MUST_big_runner
Doc:
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixcmake/phoenix_cmake_ubuntu_2204:latest
stage: DocCoverage
script:
- export LD_LIBRARY_PATH=/usr/lib
- env
- rm -fr build public
- mkdir -p build
- mkdir -p public
- cd build
- >
cmake ..
-DCMAKE_INSTALL_PREFIX=/usr
-DDOC_MODE=yes
-DCMAKE_MODULE_PATH=/usr/share/cmake
- make all
- make doc
- scp -r doc/html/* ../public
artifacts:
paths:
- public
expire_in: 8d
only:
- branches
- tags
tags:
- MUST_big_runner
pages:
stage: deploy
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixcmake/phoenix_cmake_ubuntu_2204:latest
script:
- mv coverage public/
artifacts:
paths:
- public
expire_in: 8d
tags:
- MUST_big_runner
Ubuntu 2004:
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixdocker/package_ubuntu2004_gcc9:0.1
stage: DocCoverage
script:
- ./cmake/phoenix_createPackages.sh DEB package_ubuntu2004 false
artifacts:
paths:
- package_ubuntu2004
expire_in: 8d
only:
#- branches
- tags
tags:
- MUST_big_runner
Ubuntu 2204:
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixdocker/package_ubuntu2204_gcc11:0.1
stage: DocCoverage
script:
- ./cmake/phoenix_createPackages.sh DEB package_ubuntu2204 false
artifacts:
paths:
- package_ubuntu2204
expire_in: 8d
only:
#- branches
- tags
tags:
- MUST_big_runner
Fedora 31:
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixdocker/package_fedora31:0.1
stage: DocCoverage
script:
- ./cmake/phoenix_createPackages.sh RPM package_fedora31 false
artifacts:
paths:
- package_fedora31
expire_in: 8d
only:
#- branches
- tags
tags:
- MUST_big_runner
Fedora 36:
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixdocker/package_fedora36:0.1
stage: DocCoverage
script:
- ./cmake/phoenix_createPackages.sh RPM package_fedora36 false
artifacts:
paths:
- package_fedora36
expire_in: 8d
only:
#- branches
- tags
tags:
- MUST_big_runner
Release:
image: gitlab-registry.in2p3.fr/cta-lapp/phoenix_libs/phoenixdocker/package_ubuntu2204_python3:0.1
stage: deploy
script:
- echo "Let's do some release"
- uname -a
- python3 ./cmake/createReleaseCurl.py -n ${CI_PROJECT_TITLE} -i ${CI_PROJECT_ID} -t ${CI_COMMIT_TAG} -p ${CI_RELEASE_TOKEN}
only:
#- branches
- tags
tags:
- MUST_big_runner