Skip to content
Snippets Groups Projects

Resolve "Factorize common benchmark code."

Merged Whitney Armstrong requested to merge 15-factorize-common-benchmark-code into master
+ 5
35
image: eicweb.phy.anl.gov:4567/eic/juggler/juggler:$JUGGLER_TAG
default:
before_script:
- git clone https://eicweb.phy.anl.gov/EIC/detectors/topside.git
&& mkdir topside/build
&& cd topside/build
&& cmake ../. -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=/usr/local
&& make -j20 install
&& cd ../..
|| exit 1
artifacts:
expire_in: 72 hours
paths:
- .local/detector
- .local/lib
- .local/bin
- .local/include
- .local/share
- results
- config
@@ -26,36 +21,11 @@ stages:
- collect
- deploy
env:
stage: config
script:
- ./util/print_env.sh
- mkdir -p /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}
- mkdir -p /scratch/${CI_PROJECT_NAME}_${CI_PIPELINE_ID}/sim_output
detector:
stage: initialize
needs: ["env"]
timeout: 1 hours
cache:
key:
files:
- options/env.sh
- util/build_detector.sh
prefix: "$CI_COMMIT_REF_SLUG"
paths:
- .local/detector
- .local/lib
script:
- ./util/print_env.sh
- ./util/build_detector.sh
- ./util/print_env.sh
- mkdir -p results
- mkdir -p config
include: '.local/share/common.yml'
get_data:
stage: data_init
needs: ["detector"]
needs: ["common:detector"]
script:
- source options/env.sh
- ln -s ${LOCAL_DATA_PATH}/sim_output sim_output
Loading