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
Branches
No related tags found
1 merge request!2DVMP work
...@@ -11,12 +11,10 @@ default: ...@@ -11,12 +11,10 @@ default:
stages: stages:
- init - init
- config
- generate - generate
- process - process
- analyze - analyze
- collect - collect
- cleanup
- finish - finish
detector: detector:
......
dvmp:dummy_test: dvmp:jpsi_central:generate:
stage: analyze stage: generate
needs: ["detector"] needs: []
timeout: 1 hours 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: script:
- dvmp/dummy_test.sh - dvmp/dummy_test.sh
dvmp:dummy_test2: dvmp:jpsi_central:dummy_test2:
stage: analyze stage: analyze
needs: ["detector"] needs: ["dvmp:jpsi_central:process"]
timeout: 1 hours dependencies:
- dvmp:jpsi_central:process
script: script:
- dvmp/dummy_test2.sh - dvmp/dummy_test2.sh
dvmp:dummy_fail_test: dvmp:jpsi_central:dummy_fail_test:
stage: analyze stage: analyze
needs: ["detector"] needs: ["dvmp:jpsi_central:process"]
timeout: 1 hours dependencies:
- dvmp:jpsi_central:process
allow_failure: true allow_failure: true
script: script:
- dvmp/dummy_fail_test.sh - dvmp/dummy_fail_test.sh
dvmp:results: dvmp:results:
stage: collect 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: 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.
Please register or to comment