Skip to content
Snippets Groups Projects
Commit 9bd5d23a authored by Sylvester Joosten's avatar Sylvester Joosten
Browse files

Setup CI for DVMP bencmarks

parent 1443e856
No related branches found
No related tags found
1 merge request!2DVMP work
......@@ -11,12 +11,10 @@ default:
stages:
- init
- config
- generate
- process
- analyze
- collect
- cleanup
- finish
detector:
......
dvmp:dummy_test:
stage: analyze
needs: ["detector"]
dvmp:jpsi_central:generate:
stage: generate
needs: []
timeout: 1 hours
cache:
key:
files:
- dvmp/generator/jpsi_central.json
prefix: "$CI_COMMIT_REF_SLUG"
paths:
- results/dvmp
script:
- echo "stub for generator"
- mkdir -p results/dvmp
- touch results/dvmp/event-stub
dvmp:jpsi_central:process:
stage: process
needs: ["detector", "dvmp:jpsi_central:generate"]
dependencies:
- detector
- dvmp:jpsi_central:generate
timeout: 1 hour
script:
- echo "Running the detector simulation"
- touch results/dvmp/sim-stub
- echo "Running the reconstruction"
- touch results/dvmp/rec-stub
dvmp:jpsi_central:dummy_test:
stage: analyze
needs: ["dvmp:jpsi_central:process"]
dependencies:
- dvmp:jpsi_central:process
script:
- dvmp/dummy_test.sh
dvmp:dummy_test2:
dvmp:jpsi_central:dummy_test2:
stage: analyze
needs: ["detector"]
timeout: 1 hours
needs: ["dvmp:jpsi_central:process"]
dependencies:
- dvmp:jpsi_central:process
script:
- dvmp/dummy_test2.sh
dvmp:dummy_fail_test:
dvmp:jpsi_central:dummy_fail_test:
stage: analyze
needs: ["detector"]
timeout: 1 hours
needs: ["dvmp:jpsi_central:process"]
dependencies:
- dvmp:jpsi_central:process
allow_failure: true
script:
- dvmp/dummy_fail_test.sh
dvmp:results:
stage: collect
needs: ["dvmp:dummy_test", "dvmp:dummy_test2", "dvmp:dummy_fail_test"]
needs: ["dvmp:jpsi_central:dummy_test",
"dvmp:jpsi_central:dummy_test2",
"dvmp:jpsi_central:dummy_fail_test"]
script:
- echo "All DIS benchmarks successful"
- echo "All DVMP benchmarks successful"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment