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

quick artifacts

	modified:   .gitlab-ci.yml
parent 11ec2115
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ image: eicweb.phy.anl.gov:4567/eic/npdet/npdet:latest ...@@ -2,6 +2,7 @@ image: eicweb.phy.anl.gov:4567/eic/npdet/npdet:latest
default: default:
artifacts: artifacts:
expire_in: 10 mins
paths: paths:
- results/ - results/
- datasets/ - datasets/
...@@ -46,38 +47,15 @@ cal_sim_1_dummy_test2: ...@@ -46,38 +47,15 @@ cal_sim_1_dummy_test2:
stage: simulate stage: simulate
tags: tags:
- sodium - sodium
needs:
- ["get_data"]
script: script:
- echo "here we run simulation" - 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 ./.
- bash trackers/roman_pot_simu.sh
zdc_simulation:
stage: simulate
tags:
- sodium
script:
- cp NPDet/src/GenericDetectors/calorimeters/compact/elements.xml ./.
- cp NPDet/src/GenericDetectors/calorimeters/compact/materials.xml ./.
- bash calorimeters/run_simulation_zdc.sh
crystal_emcal_simulation:
stage: simulate
tags:
- sodium
script:
- cp NPDet/src/GenericDetectors/calorimeters/compact/elements.xml ./.
- cp NPDet/src/GenericDetectors/calorimeters/compact/materials.xml ./.
- bash calorimeters/run_simulation_crystal.sh
cal_test_1_dummy_test2: cal_test_1_dummy_test2:
stage: benchmarks stage: benchmarks
needs:
- ["cal_sim_1_dummy_test2"]
tags: tags:
- sodium - sodium
script: script:
...@@ -96,6 +74,8 @@ cal_test_3_zdc_neutrons_reader: ...@@ -96,6 +74,8 @@ cal_test_3_zdc_neutrons_reader:
stage: benchmarks stage: benchmarks
tags: tags:
- sodium - sodium
needs:
- ["zdc_simulation"]
script: script:
- root -b -q calorimeters/zdc_neutrons_reader.cxx - root -b -q calorimeters/zdc_neutrons_reader.cxx
allow_failure: true allow_failure: true
...@@ -104,20 +84,37 @@ pid_test_1_dummy_test: ...@@ -104,20 +84,37 @@ pid_test_1_dummy_test:
stage: benchmarks stage: benchmarks
tags: tags:
- sodium - sodium
needs:
- ["cal_sim_1_dummy_test2"]
script: script:
- bash pid/dummy_test.sh - bash pid/dummy_test.sh
allow_failure: true allow_failure: true
track_test_1_dummy_test: track_test_1_dummy_test:
stage: benchmarks stage: benchmarks
needs:
- ["cal_sim_1_dummy_test2"]
tags: tags:
- sodium - sodium
script: script:
- bash trackers/dummy_test.sh - bash trackers/dummy_test.sh
allow_failure: true allow_failure: true
roman_pot_simu:
stage: simulate
needs:
- ["get_data"]
tags:
- sodium
script:
- cp NPDet/src/GenericDetectors/trackers/compact/elements.xml ./.
- cp NPDet/src/GenericDetectors/trackers/compact/materials.xml ./.
- bash trackers/roman_pot_simu.sh
roman_pot_nhits: roman_pot_nhits:
stage: benchmarks stage: benchmarks
needs:
- ["roman_pot_simu"]
tags: tags:
- sodium - sodium
script: script:
...@@ -128,14 +125,31 @@ roman_pot_eta: ...@@ -128,14 +125,31 @@ roman_pot_eta:
stage: benchmarks stage: benchmarks
tags: tags:
- sodium - sodium
needs:
- ["roman_pot_simu"]
script: script:
- root -b -q trackers/roman_pot_hit_eta.cxx+ - root -b -q trackers/roman_pot_hit_eta.cxx+
allow_failure: true allow_failure: true
zdc_simulation:
stage: simulate
needs:
- ["get_data"]
tags:
- sodium
script:
- cp NPDet/src/GenericDetectors/calorimeters/compact/elements.xml ./.
- cp NPDet/src/GenericDetectors/calorimeters/compact/materials.xml ./.
- bash calorimeters/run_simulation_zdc.sh
zdc_benchmark: zdc_benchmark:
stage: benchmarks stage: benchmarks
tags: tags:
- sodium - sodium
needs:
- ["zdc_simulation"]
dependencies:
- zdc_simulation
script: script:
- ls -lrth sim_output - ls -lrth sim_output
- root -b -q calorimeters/simple_checking.cxx+ - root -b -q calorimeters/simple_checking.cxx+
...@@ -143,18 +157,35 @@ zdc_benchmark: ...@@ -143,18 +157,35 @@ zdc_benchmark:
zdc_benchmark_info_histogram: zdc_benchmark_info_histogram:
stage: benchmarks stage: benchmarks
needs:
- ["zdc_simulation"]
tags: tags:
- sodium - sodium
dependencies:
- zdc_simulation
script: script:
- cp NPDet/src/GenericDetectors/calorimeters/compact/elements.xml calorimeters/ - cp NPDet/src/GenericDetectors/calorimeters/compact/elements.xml calorimeters/
- cp NPDet/src/GenericDetectors/calorimeters/compact/materials.xml calorimeters/ - cp NPDet/src/GenericDetectors/calorimeters/compact/materials.xml calorimeters/
- root -b -q calorimeters/simple_info_plot_histograms.cxx+ - root -b -q calorimeters/simple_info_plot_histograms.cxx+
allow_failure: true allow_failure: true
crystal_emcal_simulation:
stage: simulate
needs:
- ["get_data"]
tags:
- sodium
script:
- cp NPDet/src/GenericDetectors/calorimeters/compact/elements.xml ./.
- cp NPDet/src/GenericDetectors/calorimeters/compact/materials.xml ./.
- bash calorimeters/run_simulation_crystal.sh
crystal_benchmark: crystal_benchmark:
stage: benchmarks stage: benchmarks
tags: tags:
- sodium - sodium
needs:
- ["crystal_emcal_simulation"]
script: script:
- ls -lrth sim_output - ls -lrth sim_output
- root -b -q calorimeters/simple_checking_crystal.cxx+ - root -b -q calorimeters/simple_checking_crystal.cxx+
...@@ -162,6 +193,8 @@ crystal_benchmark: ...@@ -162,6 +193,8 @@ crystal_benchmark:
deploy_results: deploy_results:
stage: deploy stage: deploy
needs:
- ["zdc_benchmark","zdc_benchmark_info_histogram"]
tags: tags:
- sodium - sodium
script: script:
......
Benchmarks for NPDet Benchmarks for NPDet
==================== ====================
[![pipeline status](https://eicweb.phy.anl.gov/jihee.kim/benchmarks/badges/master/pipeline.svg)](https://eicweb.phy.anl.gov/jihee.kim/benchmarks/-/commits/master)
## Adding new benchmarks ## Adding new benchmarks
### Pass/Fail tests ### Pass/Fail tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment