diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e38469ab..ec206b97 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,33 +115,35 @@ common:detector: - runner_system_failure include: - - local: 'benchmarks/diffractive_vm/config.yml' - - local: 'benchmarks/demp/config.yml' - - local: 'benchmarks/dis/config.yml' + #- local: 'benchmarks/diffractive_vm/config.yml' + #- local: 'benchmarks/demp/config.yml' + #- local: 'benchmarks/dis/config.yml' #- local: 'benchmarks/dvmp/config.yml' - - local: 'benchmarks/dvcs/config.yml' - - local: 'benchmarks/lambda/config.yml' - - local: 'benchmarks/neutron/config.yml' - - local: 'benchmarks/sigma/config.yml' - - local: 'benchmarks/tcs/config.yml' - - local: 'benchmarks/u_omega/config.yml' + #- local: 'benchmarks/dvcs/config.yml' + #- local: 'benchmarks/lambda/config.yml' + #- local: 'benchmarks/neutron/config.yml' + #- local: 'benchmarks/sigma/config.yml' + #- local: 'benchmarks/tcs/config.yml' + #- local: 'benchmarks/u_omega/config.yml' - local: 'benchmarks/single/config.yml' - - local: 'benchmarks/backgrounds/config.yml' + #- local: 'benchmarks/backgrounds/config.yml' + - local: 'benchmarks/your_benchmark/config.yml' summary: stage: finish needs: - - "diffractive_vm:results" - - "demp:results" - - "dis:results" - - "dvcs:results" - - "lambda:results" - - "neutron:results" - - "sigma:results" - - "tcs:results" - - "u_omega:results" + #- "diffractive_vm:results" + #- "demp:results" + #- "dis:results" + #- "dvcs:results" + #- "lambda:results" + #- "neutron:results" + #- "sigma:results" + #- "tcs:results" + #- "u_omega:results" - "single:results" - - "backgrounds:results" + #- "backgrounds:results" + - "your_benchmark:results" script: - collect_benchmarks.py - find results -print | sort | tee summary.txt diff --git a/benchmarks/your_benchmark/config.yml b/benchmarks/your_benchmark/config.yml new file mode 100644 index 00000000..363f7f54 --- /dev/null +++ b/benchmarks/your_benchmark/config.yml @@ -0,0 +1,42 @@ +your_benchmark:compile: + extends: .phy_benchmark + stage: compile + script: + - echo "You can compile your code here!" + +your_benchmark:generate: + extends: .phy_benchmark + stage: generate + script: + - echo "I will generate events here!" + - echo "Add event-generator code to do this" + +your_benchmark:simulate: + extends: .phy_benchmark + stage: simulate + script: + - echo "I will simulate detector response here!" + +your_benchmark:reconstruct: + extends: .phy_benchmark + stage: reconstruct + script: + - echo "Event reconstruction here!" + +your_benchmark:analyze: + extends: .phy_benchmark + stage: analyze + needs: + - ["your_benchmark:reconstruct"] + script: + - echo "I will analyze events here!" + - echo "This step requires that the reconstruct step be completed" + +your_benchmark:results: + extends: .phy_benchmark + stage: collect + needs: + - ["your_benchmark:analyze"] + script: + - echo "I will collect results here!" + - echo "This step requires that the analyze step be completed"