diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8698f02807a3ae63628b2ae43b3c98bfa0aed9d4..13f7dd3791b49cc02963113cb0cb9454a28dd92c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,12 @@ stages: common:setup: stage: config before_script: - - git clone https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup + - | + if [[ "${COMMON_BENCH_VERSION}" == "" ]] ; then + export COMMON_BENCH_VERSION="master" + fi + echo "COMMON_BENCH_VERSION = ${COMMON_BENCH_VERSION}" + git clone -b "${COMMON_BENCH_VERSION}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup script: - source setup/bin/env.sh && ./setup/bin/install_common.sh