This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
41 lines (36 loc) · 1.62 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
image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:latest
stages:
- config
- test
generate:
stage: config
script:
- test "$(scripts/generate.sh)" = "e-_1GeV_45to135deg.steer"
- scripts/generate.sh && test -f e-_1GeV_45to135deg.steer
- scripts/generate.sh e- 1*GeV 45 135 && test -f e-_1GeV_45to135deg.steer
- scripts/generate.sh J/psi 1*GeV && test -f Jpsi_1GeV_45to135deg.steer
- scripts/generate.sh eta_prime 1*GeV && test -f etaprime_1GeV_45to135deg.steer
- scripts/generate.sh anti_nu_mu 1*GeV && test -f antinumu_1GeV_45to135deg.steer
.test:
stage: test
parallel:
matrix:
- TAG:
- "nightly"
image: eicweb.phy.anl.gov:4567/containers/eic_container/jug_xl:${TAG}
run_electron_1GeV_45to135deg:
extends: .test
script:
- scripts/generate.sh e- 1*GeV 45 135
- COPYRECO=true scripts/run.sh EVGEN/CI/SINGLE/e-/1GeV/45to135deg/e-_1GeV_45to135deg.steer 100
- test -f RECO/*/*/CI/SINGLE/e-/1GeV/45to135deg/e-_1GeV_45to135deg.juggler.tree.edm4eic.root
- test -f RECO/*/*/CI/SINGLE/e-/1GeV/45to135deg/e-_1GeV_45to135deg.eicrecon.tree.edm4eic.root
run_pion_1GeV_3to50deg_0001:
extends: .test
script:
- scripts/generate.sh pi+ 1*GeV 3 50
- mkdir -p EVGEN/CI/SINGLE/pi+/1GeV/3to50deg
- cp pi+_1GeV_3to50deg.steer EVGEN/CI/SINGLE/pi+/1GeV/3to50deg/pi+_1GeV_3to50deg.steer
- COPYRECO=true scripts/run.sh EVGEN/CI/SINGLE/pi+/1GeV/3to50deg/pi+_1GeV_3to50deg.steer 100 0001
- test -f RECO/*/*/CI/SINGLE/pi+/1GeV/3to50deg/pi+_1GeV_3to50deg.0001.juggler.tree.edm4eic.root
- test -f RECO/*/*/CI/SINGLE/pi+/1GeV/3to50deg/pi+_1GeV_3to50deg.0001.eicrecon.tree.edm4eic.root