aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-iris-coq.sh
diff options
context:
space:
mode:
authorMaxime Dénès2017-02-07 14:22:08 +0100
committerMaxime Dénès2017-02-07 14:22:08 +0100
commit0a1c83768a6b0199afa1ad4fb633c9ede4a84d20 (patch)
tree0b39e900ef744160b8c453bb9f5f017c5d3a8039 /dev/ci/ci-iris-coq.sh
parente61e83758e129d455d664b65a1fe15ecac793186 (diff)
parent2a59cdce8c142d451988709a3939b884c63993c9 (diff)
Merge PR#421: [travis] Perform parallel testing
Diffstat (limited to 'dev/ci/ci-iris-coq.sh')
-rwxr-xr-xdev/ci/ci-iris-coq.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev/ci/ci-iris-coq.sh b/dev/ci/ci-iris-coq.sh
new file mode 100755
index 0000000000..c1306e070d
--- /dev/null
+++ b/dev/ci/ci-iris-coq.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# $0 is not the safest way, but...
+ci_dir="$(dirname "$0")"
+source ${ci_dir}/ci-common.sh
+
+# XXX: Refactor into install-ssreflect
+git clone --depth 1 https://github.com/math-comp/math-comp.git
+
+# coquelicot just needs mathcomp
+( cd math-comp/mathcomp && \
+ sed -i.bak '/ssrtest/d' Make && \
+ sed -i.bak '/odd_order/d' Make && \
+ sed -i.bak '/all\/all.v/d' Make && \
+ sed -i.bak '/character/d' Make && \
+ sed -i.bak '/real_closed/d' Make && \
+ sed -i.bak '/solvable/d' Make && \
+ sed -i.bak '/field/d' Make && \
+ sed -i.bak '/fingroup/d' Make && \
+ sed -i.bak '/algebra/d' Make && \
+ make -j ${NJOBS} && make install )
+
+# Setup ssr = This doesn't work as coq_makefile will pass -q to coqc :S :S
+# echo "Add ML Path \"`pwd`/math-comp/mathcomp/\"." > ${HOME}/.coqrc
+# echo "Add LoadPath \"`pwd`/math-comp/mathcomp/\" as mathcomp." >> ${HOME}/.coqrc
+
+# Setup Iris
+git clone --depth 1 https://gitlab.mpi-sws.org/FP/iris-coq.git
+
+( cd iris-coq && make -j ${NJOBS} )