aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-compcert.sh
diff options
context:
space:
mode:
authorThéo Zimmermann2018-08-28 18:43:03 +0200
committerThéo Zimmermann2018-08-31 14:05:10 +0200
commit04542c3288b838c57253f2c315f1dab028412a40 (patch)
treef33c7f03b94267c01c48b566a08c822f190e9ac7 /dev/ci/ci-compcert.sh
parente8b1f95a5bf8091b25f82266d0ff084d722ed6c5 (diff)
Download tarball instead of cloning external projects (when $CI is set).
This allows to use fixed commits and not just branches or tags. We keep using git clone when $FORCE_GIT is set (for projects on gforge.inria.fr and projects pulling dependencies through git submodules). fiat-parsers also calls git submodule, but inside its own Makefile.
Diffstat (limited to 'dev/ci/ci-compcert.sh')
-rwxr-xr-xdev/ci/ci-compcert.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev/ci/ci-compcert.sh b/dev/ci/ci-compcert.sh
index 8d490591b6..01c35ceb4a 100755
--- a/dev/ci/ci-compcert.sh
+++ b/dev/ci/ci-compcert.sh
@@ -3,8 +3,7 @@
ci_dir="$(dirname "$0")"
. "${ci_dir}/ci-common.sh"
-CompCert_CI_DIR="${CI_BUILD_DIR}/CompCert"
+git_download CompCert
-git_checkout "${CompCert_CI_BRANCH}" "${CompCert_CI_GITURL}" "${CompCert_CI_DIR}"
-
-( cd "${CompCert_CI_DIR}" && ./configure -ignore-coq-version x86_32-linux && make && make check-proof )
+( cd "${CI_BUILD_DIR}/CompCert" && \
+ ./configure -ignore-coq-version x86_32-linux && make && make check-proof )