Skip to content
Snippets Groups Projects
Commit 304255e9 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Update .gitlab-ci.yml

parent 155126c5
No related branches found
No related tags found
No related merge requests found
Pipeline #35683 failed
...@@ -25,8 +25,6 @@ stages: ...@@ -25,8 +25,6 @@ stages:
- status-pending - status-pending
- config - config
- initialize - initialize
- compile
- run
- process - process
- collect - collect
- finish - finish
...@@ -79,12 +77,6 @@ common:detector: ...@@ -79,12 +77,6 @@ common:detector:
- mkdir -p config - mkdir -p config
- print_env.sh - print_env.sh
.compile_benchmark:
needs:
- ["common:detector"]
before_script:
- source .local/bin/env.sh
.geoviewer: .geoviewer:
needs: needs:
- ["common:detector"] - ["common:detector"]
...@@ -96,9 +88,26 @@ common:detector: ...@@ -96,9 +88,26 @@ common:detector:
- runner_system_failure - runner_system_failure
interruptible: true interruptible: true
dump_geometry:
extends: .geoviewer
stage: proces
needs:
- common:detector
script:
- mkdir -p geo
- |
geo_base_file="geo/detector_geo"
dd_web_display --output ${geo_base_file}.root ${DETECTOR_PATH}/${CI_PROJECT_NAME}.xml
for yml in ${DETECTOR_PATH}/configurations/*.yml; do
name=`basename $yml .yml`
xml_file=${CI_PROJECT_NAME}_${name}.xml
geo_file=${geo_base_file}_${name}.root
dd_web_display --output ${geo_file} ${DETECTOR_PATH}/${xml_file}
done
final_report: final_report:
stage: finish stage: finish
needs: [] needs: ["dump_geometry"]
script: script:
- echo "It was a success!" - echo "It was a success!"
allow_failure: true allow_failure: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment