diff options
| author | Théo Zimmermann | 2017-03-07 23:30:29 +0100 |
|---|---|---|
| committer | Théo Zimmermann | 2017-03-10 23:18:33 +0100 |
| commit | 710c1e1f49ce834acb9488704bcbbf13c4ebaf91 (patch) | |
| tree | d088d5a61426c8febb702866426c96a47a025b2b /dev/ci/ci-iris-coq.sh | |
| parent | ba36aab9ad9a3d210211e1d4527dd0f6f493ca05 (diff) | |
[travis] Adding a template file and using it for all targets.
Diffstat (limited to 'dev/ci/ci-iris-coq.sh')
| -rwxr-xr-x | dev/ci/ci-iris-coq.sh | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/dev/ci/ci-iris-coq.sh b/dev/ci/ci-iris-coq.sh index 7044c3859d..10f2c2b4bd 100755 --- a/dev/ci/ci-iris-coq.sh +++ b/dev/ci/ci-iris-coq.sh @@ -1,17 +1,26 @@ #!/usr/bin/env bash -# $0 is not the safest way, but... ci_dir="$(dirname "$0")" source ${ci_dir}/ci-common.sh +stdpp_CI_BRANCH=master +stdpp_CI_GITURL=https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp.git +stdpp_CI_DIR=${CI_BUILD_DIR}/coq-stdpp + +Iris_CI_BRANCH=master +Iris_CI_GITURL=https://gitlab.mpi-sws.org/FP/iris-coq.git +Iris_CI_DIR=${CI_BUILD_DIR}/iris-coq + install_ssreflect # Setup stdpp -git_checkout master https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp.git coq-stdpp -( cd coq-stdpp && make -j ${NJOBS} && make install ) +git_checkout ${stdpp_CI_BRANCH} ${stdpp_CI_GITURL} ${stdpp_CI_DIR} + +( cd ${stdpp_CI_DIR} && make -j ${NJOBS} && make install ) # Setup Iris -git_checkout master https://gitlab.mpi-sws.org/FP/iris-coq.git iris-coq -( cd iris-coq && make -j ${NJOBS} ) +git_checkout ${Iris_CI_BRANCH} ${Iris_CI_GITURL} ${Iris_CI_DIR} + +( cd ${Iris_CI_DIR} && make -j ${NJOBS} ) |
