aboutsummaryrefslogtreecommitdiff
path: root/tools/ci/ci-metacoq.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/ci-metacoq.sh')
-rwxr-xr-xtools/ci/ci-metacoq.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/ci/ci-metacoq.sh b/tools/ci/ci-metacoq.sh
new file mode 100755
index 0000000000..9a9bd3648b
--- /dev/null
+++ b/tools/ci/ci-metacoq.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+# $0 is not the safest way, but...
+ci_dir="$(dirname "$0")"
+source ${ci_dir}/ci-common.sh
+
+# MetaCoq + UniCoq
+
+git clone --depth 1 https://github.com/unicoq/unicoq.git
+
+( cd unicoq && coq_makefile -f Make -o Makefile && make -j ${NJOBS} && make install )
+
+git clone --depth 1 https://github.com/MetaCoq/MetaCoq.git
+
+( cd MetaCoq && coq_makefile -f _CoqProject -o Makefile && make -j ${NJOBS} )
+