Skip to content
Snippets Groups Projects
Commit 2373784c authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: .gitlab-ci.yml

parent 9cbd61a6
Branches
Tags
1 merge request!10Restructure benchmarks
This commit is part of merge request !10. Comments created here will be created in the context of that merge request.
...@@ -68,18 +68,10 @@ get_data: ...@@ -68,18 +68,10 @@ get_data:
# - ./bin/gen_ci_config -p cal_test_ -i calorimeters > results/calorimeters_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 # - ./bin/gen_ci_config -p pid_test_ -i pid > results/pid_config.yml
cal_test_3_zdc_neutrons_reader:
stage: benchmarks
needs:
- ["zdc_simulation"]
script:
- root -b -q benchmarks/calorimeters/zdc_neutrons_reader.cxx
allow_failure: true
roman_pot_simu: roman_pot_simu:
stage: simulate stage: simulate
needs: needs:
- ["get_data"] - ["get_data","detector"]
script: script:
- cp NPDet/src/detectors/trackers/compact/elements.xml ./. - cp NPDet/src/detectors/trackers/compact/elements.xml ./.
- cp NPDet/src/detectors/trackers/compact/materials.xml ./. - cp NPDet/src/detectors/trackers/compact/materials.xml ./.
...@@ -88,7 +80,7 @@ roman_pot_simu: ...@@ -88,7 +80,7 @@ roman_pot_simu:
roman_pot_nhits: roman_pot_nhits:
stage: benchmarks stage: benchmarks
needs: needs:
- ["roman_pot_simu"] - ["roman_pot_simu","detector"]
script: script:
- root -b -q benchmarks/trackers/simple_tracking.cxx+ - root -b -q benchmarks/trackers/simple_tracking.cxx+
allow_failure: true allow_failure: true
...@@ -96,7 +88,7 @@ roman_pot_nhits: ...@@ -96,7 +88,7 @@ roman_pot_nhits:
roman_pot_eta: roman_pot_eta:
stage: benchmarks stage: benchmarks
needs: needs:
- ["roman_pot_simu"] - ["roman_pot_simu","detector"]
script: script:
- root -b -q benchmarks/trackers/roman_pot_hit_eta.cxx+ - root -b -q benchmarks/trackers/roman_pot_hit_eta.cxx+
allow_failure: true allow_failure: true
...@@ -104,16 +96,25 @@ roman_pot_eta: ...@@ -104,16 +96,25 @@ roman_pot_eta:
zdc_simulation: zdc_simulation:
stage: simulate stage: simulate
needs: needs:
- ["get_data"] - ["get_data","detector"]
script: script:
- cp NPDet/src/detectors/calorimeters/compact/elements.xml ./. - cp NPDet/src/detectors/calorimeters/compact/elements.xml ./.
- cp NPDet/src/detectors/calorimeters/compact/materials.xml ./. - cp NPDet/src/detectors/calorimeters/compact/materials.xml ./.
- bash benchmarks/calorimeters/run_simulation_zdc.sh - bash benchmarks/calorimeters/run_simulation_zdc.sh
cal_test_3_zdc_neutrons_reader:
stage: benchmarks
needs:
- ["zdc_simulation","detector"]
script:
- root -b -q benchmarks/calorimeters/zdc_neutrons_reader.cxx
allow_failure: true
zdc_benchmark: zdc_benchmark:
stage: benchmarks stage: benchmarks
needs: needs:
- ["zdc_simulation"] - ["zdc_simulation","detector"]
script: script:
- ls -lrth sim_output - ls -lrth sim_output
- root -b -q benchmarks/calorimeters/simple_checking.cxx+ - root -b -q benchmarks/calorimeters/simple_checking.cxx+
...@@ -122,7 +123,7 @@ zdc_benchmark: ...@@ -122,7 +123,7 @@ zdc_benchmark:
zdc_benchmark_info_histogram: zdc_benchmark_info_histogram:
stage: benchmarks stage: benchmarks
needs: needs:
- ["zdc_simulation"] - ["zdc_simulation","detector"]
script: script:
- cp NPDet/src/detectors/calorimeters/compact/elements.xml calorimeters/ - cp NPDet/src/detectors/calorimeters/compact/elements.xml calorimeters/
- cp NPDet/src/detectors/calorimeters/compact/materials.xml calorimeters/ - cp NPDet/src/detectors/calorimeters/compact/materials.xml calorimeters/
...@@ -132,7 +133,7 @@ zdc_benchmark_info_histogram: ...@@ -132,7 +133,7 @@ zdc_benchmark_info_histogram:
crystal_emcal_simulation: crystal_emcal_simulation:
stage: simulate stage: simulate
needs: needs:
- ["get_data"] - ["get_data","detector"]
tags: tags:
- silicon - silicon
script: script:
...@@ -143,7 +144,7 @@ crystal_emcal_simulation: ...@@ -143,7 +144,7 @@ crystal_emcal_simulation:
crystal_benchmark: crystal_benchmark:
stage: benchmarks stage: benchmarks
needs: needs:
- ["crystal_emcal_simulation"] - ["crystal_emcal_simulation","detector"]
script: script:
- ls -lrth sim_output - ls -lrth sim_output
- root -b -q benchmarks/calorimeters/simple_checking_crystal.cxx+ - root -b -q benchmarks/calorimeters/simple_checking_crystal.cxx+
...@@ -152,7 +153,7 @@ crystal_benchmark: ...@@ -152,7 +153,7 @@ crystal_benchmark:
crystal_pion_simulation: crystal_pion_simulation:
stage: simulate stage: simulate
needs: needs:
- ["get_data"] - ["get_data","detector"]
tags: tags:
- silicon - silicon
script: script:
...@@ -162,7 +163,7 @@ crystal_pion_simulation: ...@@ -162,7 +163,7 @@ crystal_pion_simulation:
deploy_results: deploy_results:
stage: deploy stage: deploy
needs: needs:
- ["zdc_benchmark","zdc_benchmark_info_histogram"] - ["zdc_benchmark","zdc_benchmark_info_histogram","detector"]
tags: tags:
- silicon - silicon
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment