diff options
| author | Théo Zimmermann | 2018-08-28 18:43:03 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-08-31 14:05:10 +0200 |
| commit | 04542c3288b838c57253f2c315f1dab028412a40 (patch) | |
| tree | f33c7f03b94267c01c48b566a08c822f190e9ac7 /dev/ci/ci-corn.sh | |
| parent | e8b1f95a5bf8091b25f82266d0ff084d722ed6c5 (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-corn.sh')
| -rwxr-xr-x | dev/ci/ci-corn.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/ci/ci-corn.sh b/dev/ci/ci-corn.sh index 9298fc70af..7d5d70cf90 100755 --- a/dev/ci/ci-corn.sh +++ b/dev/ci/ci-corn.sh @@ -3,8 +3,6 @@ ci_dir="$(dirname "$0")" . "${ci_dir}/ci-common.sh" -Corn_CI_DIR="${CI_BUILD_DIR}/corn" +git_download Corn -git_checkout "${Corn_CI_BRANCH}" "${Corn_CI_GITURL}" "${Corn_CI_DIR}" - -( cd "${Corn_CI_DIR}" && make && make install ) +( cd "${CI_BUILD_DIR}/Corn" && make && make install ) |
