diff options
| author | Pierre-Marie Pédrot | 2020-10-21 12:36:59 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-10-21 12:36:59 +0200 |
| commit | 9db73ef18c45238223f30a462fc2c6d20493d1d2 (patch) | |
| tree | 19bef0ebf7a880ecde7c3d3004372d10f397e42b /dev/bench/gitlab.sh | |
| parent | 3f0b70956add7b5731052c485cec972372b0eff9 (diff) | |
| parent | 65f32dfa52f51d59581368aafbf18832d276977c (diff) | |
Merge PR #13222: Bench: move variables to the script
Reviewed-by: ppedrot
Diffstat (limited to 'dev/bench/gitlab.sh')
| -rwxr-xr-x | dev/bench/gitlab.sh | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/dev/bench/gitlab.sh b/dev/bench/gitlab.sh index 41f204385f..1dea97160c 100755 --- a/dev/bench/gitlab.sh +++ b/dev/bench/gitlab.sh @@ -40,18 +40,19 @@ echo $PWD #check_variable "JOB_NAME" #check_variable "JENKINS_URL" check_variable "CI_JOB_URL" -check_variable "coq_pr_number" -check_variable "coq_pr_comment_id" -check_variable "new_ocaml_switch" -check_variable "new_coq_repository" -check_variable "new_coq_opam_archive_git_uri" -check_variable "new_coq_opam_archive_git_branch" -check_variable "old_ocaml_switch" -check_variable "old_coq_repository" -check_variable "old_coq_opam_archive_git_uri" -check_variable "old_coq_opam_archive_git_branch" -check_variable "num_of_iterations" -check_variable "coq_opam_packages" + +: "${coq_pr_number:=''}" +: "${coq_pr_comment_id:=''}" +: "${new_ocaml_switch:='ocaml-base-compiler.4.07.1'}" +: "${old_ocaml_switch:='ocaml-base-compiler.4.07.1'}" +: "${new_coq_repository:='https://gitlab.com/coq/coq.git'}" +: "${old_coq_repository:='https://gitlab.com/coq/coq.git'}" +: "${new_coq_opam_archive_git_uri:='https://github.com/coq/opam-coq-archive.git'}" +: "${old_coq_opam_archive_git_uri:='https://github.com/coq/opam-coq-archive.git'}" +: "${new_coq_opam_archive_git_branch:='master'}" +: "${old_coq_opam_archive_git_branch:='master'}" +: "${num_of_iterations:=1}" +: "${coq_opam_packages:='coq-performance-tests-lite coq-engine-bench-lite coq-hott coq-bignums coq-mathcomp-ssreflect coq-mathcomp-fingroup coq-mathcomp-algebra coq-mathcomp-solvable coq-mathcomp-field coq-mathcomp-character coq-mathcomp-odd-order coq-math-classes coq-corn coq-flocq coq-compcert coq-geocoq coq-color coq-coqprime coq-coqutil coq-bedrock2 coq-rewriter coq-fiat-core coq-fiat-parsers coq-fiat-crypto coq-unimath coq-sf-plf coq-coquelicot coq-lambda-rust coq-verdi coq-verdi-raft coq-fourcolor coq-rewriter-perf-SuperFast'}" new_coq_commit=$(git rev-parse HEAD^2) old_coq_commit=$(git merge-base HEAD^1 $new_coq_commit) |
