diff options
| author | Emilio Jesus Gallego Arias | 2017-02-11 02:06:01 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2017-02-15 21:20:34 +0100 |
| commit | 575bbed527977aee520a3954a196f5b59ae947c5 (patch) | |
| tree | 5f3376bba323271eb139ca4b9f74c6b53293f145 | |
| parent | 30a2def37ecdeeed24325089a0b0ca264100389c (diff) | |
[travis] [External CI] CompCert official 8.6 support + UniMath
| -rw-r--r-- | .travis.yml | 1 | ||||
| -rw-r--r-- | Makefile.ci | 7 | ||||
| -rw-r--r-- | dev/ci/ci-common.sh | 3 | ||||
| -rwxr-xr-x | dev/ci/ci-compcert.sh | 5 | ||||
| -rwxr-xr-x | dev/ci/ci-unimath.sh | 15 |
5 files changed, 27 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 188e446007..de16f2d0b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,6 +36,7 @@ env: - TEST_TARGET="ci-math-classes" - TEST_TARGET="ci-math-comp" - TEST_TARGET="ci-sf" + - TEST_TARGET="ci-unimath" # Not ready yet for 8.7 # - TEST_TARGET="ci-metacoq" # - TEST_TARGET="ci-tlc" diff --git a/Makefile.ci b/Makefile.ci index 040144e6e8..e4b5832f60 100644 --- a/Makefile.ci +++ b/Makefile.ci @@ -1,6 +1,7 @@ -CI_TARGETS=ci-all ci-hott ci-math-comp ci-compcert ci-sf ci-cpdt \ - ci-color ci-math-classes ci-tlc ci-fiat-crypto \ - ci-coquelicot ci-flocq ci-iris-coq ci-metacoq ci-geocoq +CI_TARGETS=ci-all ci-hott ci-math-comp ci-compcert ci-sf ci-cpdt \ + ci-color ci-math-classes ci-tlc ci-fiat-crypto \ + ci-coquelicot ci-flocq ci-iris-coq ci-metacoq ci-geocoq \ + ci-unimath .PHONY: $(CI_TARGETS) diff --git a/dev/ci/ci-common.sh b/dev/ci/ci-common.sh index 087572e47d..412da626fd 100644 --- a/dev/ci/ci-common.sh +++ b/dev/ci/ci-common.sh @@ -2,7 +2,10 @@ set -xe +# Coq's tools need an ending slash :S, we should fix them. +export COQBIN=`pwd`/bin/ export PATH=`pwd`/bin:$PATH + ls `pwd`/bin # Maybe we should just use Ruby... diff --git a/dev/ci/ci-compcert.sh b/dev/ci/ci-compcert.sh index d4d503278a..ec09389f8e 100755 --- a/dev/ci/ci-compcert.sh +++ b/dev/ci/ci-compcert.sh @@ -3,8 +3,11 @@ ci_dir="$(dirname "$0")" source ${ci_dir}/ci-common.sh +CompCert_CI_BRANCH=master +CompCert_CI_GITURL=https://github.com/AbsInt/CompCert.git + opam install -j ${NJOBS} -y menhir -git_checkout coq-8.6 https://github.com/maximedenes/CompCert.git CompCert +git_checkout ${CompCert_CI_BRANCH} ${CompCert_CI_GITURL} CompCert # Patch to avoid the upper version limit ( cd CompCert && sed -i.bak 's/8.6)/8.6|trunk)/' configure && ./configure x86_32-linux && make -j ${NJOBS} ) diff --git a/dev/ci/ci-unimath.sh b/dev/ci/ci-unimath.sh new file mode 100755 index 0000000000..15e619acbb --- /dev/null +++ b/dev/ci/ci-unimath.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +ci_dir="$(dirname "$0")" +source ${ci_dir}/ci-common.sh + +UniMath_CI_BRANCH=master +UniMath_CI_GITURL=https://github.com/UniMath/UniMath.git + +git_checkout ${UniMath_CI_BRANCH} ${UniMath_CI_GITURL} UniMath + +( cd UniMath && \ + sed -i.bak '/Folds/d' Makefile && \ + sed -i.bak '/HomologicalAlgebra/d' Makefile && \ + make -j ${NJOBS} BUILD_COQ=no ) + |
