aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-pidetop.sh
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-09-01 01:56:30 +0200
committerEmilio Jesus Gallego Arias2018-09-01 01:56:30 +0200
commit6f1c4ac389e595e09fdf4653847d8c3ccca0befb (patch)
tree948a6a1ea0328b01925d7ee9120a82cc3d14317c /dev/ci/ci-pidetop.sh
parent166a3838a7f07df4181617e111ffeb67dd817929 (diff)
parent04542c3288b838c57253f2c315f1dab028412a40 (diff)
Merge PR #8348: Download tarball instead of cloning external projects.
Diffstat (limited to 'dev/ci/ci-pidetop.sh')
-rwxr-xr-xdev/ci/ci-pidetop.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev/ci/ci-pidetop.sh b/dev/ci/ci-pidetop.sh
index 32cba0808e..d22b9c8f7c 100755
--- a/dev/ci/ci-pidetop.sh
+++ b/dev/ci/ci-pidetop.sh
@@ -1,12 +1,9 @@
#!/usr/bin/env bash
-# $0 is not the safest way, but...
ci_dir="$(dirname "$0")"
. "${ci_dir}/ci-common.sh"
-pidetop_CI_DIR="${CI_BUILD_DIR}/pidetop"
-
-git_checkout "${pidetop_CI_BRANCH}" "${pidetop_CI_GITURL}" "${pidetop_CI_DIR}"
+git_download pidetop
# Travis / Gitlab have different filesystem layout due to use of
# `-local`. We need to improve this divergence but if we use Dune this
@@ -17,6 +14,6 @@ else
COQLIB="$COQBIN/../"
fi
-( cd "${pidetop_CI_DIR}" && jbuilder build @install )
+( cd "${CI_BUILD_DIR}/pidetop" && jbuilder build @install )
-echo -en '4\nexit' | "$pidetop_CI_DIR/_build/install/default/bin/pidetop" -coqlib "$COQLIB" -main-channel stdfds
+echo -en '4\nexit' | "${CI_BUILD_DIR}/pidetop/_build/install/default/bin/pidetop" -coqlib "$COQLIB" -main-channel stdfds