diff options
author | 2017-03-23 16:00:53 +0100 | |
---|---|---|
committer | 2017-03-23 16:00:53 +0100 | |
commit | dccc6c5a0d7bb8b8936a8327ae979138c9f13453 (patch) | |
tree | 9c2f29254a643cdeef884309d8d53a3baf94f3ae /dev/ci/ci-iris-coq.sh | |
parent | 9f69250d5ba4116bad85662830460f1519edbe30 (diff) | |
parent | 1b0d67a0cf1b725715e97ba6448c3ff0154813bc (diff) |
Merge PR#497: [travis] [8.6.only] Backport latest changes from trunk.
Diffstat (limited to 'dev/ci/ci-iris-coq.sh')
-rwxr-xr-x | dev/ci/ci-iris-coq.sh | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/dev/ci/ci-iris-coq.sh b/dev/ci/ci-iris-coq.sh index c21af976f..dcb46ed2a 100755 --- a/dev/ci/ci-iris-coq.sh +++ b/dev/ci/ci-iris-coq.sh @@ -1,17 +1,27 @@ -#!/bin/bash +#!/usr/bin/env bash -# $0 is not the safest way, but... ci_dir="$(dirname "$0")" source ${ci_dir}/ci-common.sh +stdpp_CI_DIR=${CI_BUILD_DIR}/coq-stdpp + +Iris_CI_DIR=${CI_BUILD_DIR}/iris-coq + install_ssreflect +# Setup Iris first, as it is needed to compute the dependencies + +git_checkout ${Iris_CI_BRANCH} ${Iris_CI_GITURL} ${Iris_CI_DIR} +read -a IRIS_DEP < ${Iris_CI_DIR}/opam.pins + # Setup stdpp -git_checkout master https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp.git coq-stdpp +stdpp_CI_GITURL=${IRIS_DEP[1]}.git +stdpp_CI_COMMIT=${IRIS_DEP[2]} +stdpp_CI_DEPTH="1000" -( cd coq-stdpp && make -j ${NJOBS} && make install ) +git_checkout ${stdpp_CI_BRANCH} ${stdpp_CI_GITURL} ${stdpp_CI_DIR} ${stdpp_CI_COMMIT} ${stdpp_CI_DEPTH} -# Setup Iris -git_checkout master https://gitlab.mpi-sws.org/FP/iris-coq.git iris-coq +( cd ${stdpp_CI_DIR} && make -j ${NJOBS} && make install ) -( cd iris-coq && make -j ${NJOBS} ) +# Build iris now +( cd ${Iris_CI_DIR} && make -j ${NJOBS} ) |