Newer
Older
image: eicweb.phy.anl.gov:4567/eic/npdet/npdet:latest
# exclude:
# - .git/
# - datasets/.git/
- git clone https://eicweb.phy.anl.gov/EIC/NPDet.git
# - cd NPDet/build && cmake ../. -DCMAKE_INSTALL_PREFIX=/usr/local && make -j10 && make install
# - cd ../..
get_data:
stage: data_init
tags:
- sodium
script:
- git clone https://eicweb.phy.anl.gov/EIC/datasets.git datasets
#generate_config:
# stage: ci_gen
# tags:
# - sodium
# script:
# - ./bin/gen_ci_config -p track_test_ -i trackers > results/trackers_config.yml
# - ./bin/gen_ci_config -p cal_test_ -i calorimeters > results/calorimeters_config.yml
# - ./bin/gen_ci_config -p pid_test_ -i pid > results/pid_config.yml
script:
- echo "here we run simulation"
roman_pot_simu:
stage: simulate
tags:
- sodium
script:
- cp NPDet/src/GenericDetectors/trackers/compact/elements.xml ./.
- cp NPDet/src/GenericDetectors/trackers/compact/materials.xml ./.
cal_test_1_dummy_test2:
stage: benchmarks
tags:
- sodium
script:
- bash calorimeters/dummy_test2.sh
allow_failure: true
cal_test_2_dummy_test:
stage: benchmarks
tags:
- sodium
script:
- bash calorimeters/dummy_test.sh
allow_failure: true
cal_test_3_zdc_neutrons_reader:
tags:
- sodium
script:
- root -b -q calorimeters/zdc_neutrons_reader.cxx
allow_failure: true
tags:
- sodium
script:
- bash pid/dummy_test.sh
allow_failure: true
tags:
- sodium
script:
- bash trackers/dummy_test.sh
allow_failure: true
stage: benchmarks
tags:
- sodium
script:
- root -b -q trackers/simple_tracking.cxx+
allow_failure: true
roman_pot_eta:
stage: benchmarks
tags:
- sodium
script:
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
# artifacts:
# paths:
# - datasets
#track_test1:
# stage: detectors
# tags:
# - sodium
# script:
# - bash trackers/dummy_test.sh
# allow_failure: true
#
#cal_test1:
# stage: detectors
# tags:
# - sodium
# script:
# - bash calorimeters/dummy_test.sh
# allow_failure: true
#
#cal_test2:
# stage: detectors
# tags:
# - sodium
# script:
# - root -b -q calorimeters/zdc_neutrons_reader.cxx
# allow_failure: true
#pid_test1:
# stage: detectors
# tags:
# - sodium
# script:
# - bash pid/dummy_test.sh
# allow_failure: true
#pages:
# image: alpine
# when: manual
# stage: build
# script:
# - apk update && apk add doxygen graphviz ttf-ubuntu-font-family
# - cd doc && doxygen Doxyfile && mv doxygen_output/html/ ../public/
# artifacts:
# paths:
# - public
# only:
# - master