-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.gitlab-ci.yml
192 lines (181 loc) · 6.2 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
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
stages:
- build
- test
# building the container
build:
stage: build
tags:
- docker-image-build
script: "echo" # unused but this line is required by GitLab CI
run-B2Kee:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/B2Kee 100000
- mkdir plots
- root -b -q -l "../validation/compareHistograms.C(\"B2Kee\")"
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/B2Kee_hists.root
- build/plots/B2Kee_pval.pdf
run-B2Kee-tree:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/B2Kee 1000 1
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/B2Kee_tree.root
run-Bs2Jpsiphi:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/Bs2Jpsiphi 100000
- mkdir plots
- root -b -q -l "../validation/compareHistograms.C(\"Bs2Jpsiphi\")"
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/Bs2Jpsiphi_hists.root
- build/plots/Bs2Jpsiphi_pval.pdf
run-Bd2D0rho0:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/Bd2D0rho0 100000
- mkdir plots
- root -b -q -l "../validation/compareHistograms.C(\"Bd2D0rho0\")"
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/Bd2D0rho0_hists.root
- build/plots/Bd2D0rho0_pval.pdf
run-Bs2D0Kpi:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/Bs2D0Kpi 10000
- mkdir plots
- root -b -q -l "../validation/compareHistograms.C(\"Bs2D0Kpi\")"
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/Bs2D0Kpi_hists.root
- build/plots/Bs2D0Kpi_pval.pdf
run-D02Kpi:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/D02Kpi 100000
- mkdir plots
- root -b -q -l "../validation/compareHistograms.C(\"D02Kpi\")"
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/D02Kpi_hists.root
- build/plots/D02Kpi_pval.pdf
run-D02Kpi-redecay:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/D02Kpi 10000 0 9
- mv D02Kpi_hists.root D02Kpi-redecay_hists.root
- mkdir plots
- root -b -q -l "../validation/compareHistograms.C(\"D02Kpi-redecay\")"
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/D02Kpi-redecay_hists.root
- build/plots/D02Kpi-redecay_pval.pdf
run-B2DplusD0:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/B2DplusD0 10000
- mkdir plots
- root -b -q -l "../validation/compareHistograms.C(\"B2DplusD0\")"
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/B2DplusD0_hists.root
- build/plots/B2DplusD0_pval.pdf
run-Lb2chicpK:
script:
- export RAPIDSIM_ROOT=/code
- cd /code/build
- src/RapidSim.exe ../validation/Lb2chicpK 10000
- mkdir plots
- root -b -q -l "../validation/compareHistograms.C(\"Lb2chicpK\")"
stage: test
variables:
GIT_STRATEGY: none # the latest code should already be in the container
tags:
- docker # make sure the node has docker
image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
artifacts:
paths:
- build/Lb2chicpK_hists.root
- build/plots/Lb2chicpK_pval.pdf
#run-Ds2KKpi:
# script:
# - export RAPIDSIM_ROOT=/code
# - export LD_LIBRARY_PATH=/root/evtgen/EvtGen/external/HepMC/lib:/root/evtgen/EvtGen/external/pythia8186/lib:/root/evtgen/EvtGen/external/PHOTOS/lib:/root/evtgen/EvtGen/external/TAUOLA/lib:/root/evtgen/EvtGen/evtgen/lib:$LD_LIBRARY_PATH
# - export PYTHIA8DATA=/root/evtgen/EvtGen/external/pythia8186/xmldoc
# - export EVTGEN_ROOT=~/evtgen/EvtGen/evtgen/
# - cd /code/build-evtgen
# - src/RapidSim.exe ../validation/Ds2KKpi 10000
# - mkdir plots
# - root -b -q -l "../validation/compareHistograms.C(\"Ds2KKpi\")"
# stage: test
# variables:
# GIT_STRATEGY: none # the latest code should already be in the container
# tags:
# - docker # make sure the node has docker
# image: "gitlab-registry.cern.ch/$CI_PROJECT_PATH"
# artifacts:
# paths:
# - build-evtgen/Ds2KKpi_hists.root
# - build-evtgen/plots/Ds2KKpi_pval.pdf
#