aboutsummaryrefslogtreecommitdiff
path: root/dev/ci/ci-mtac2.sh
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2018-04-26 22:48:46 +0200
committerEmilio Jesus Gallego Arias2018-04-26 22:48:46 +0200
commit81f809cec470e2d1cfcf179333db859d00b3a728 (patch)
treeb52bca8dc132510263bcec135c60a37880653e71 /dev/ci/ci-mtac2.sh
parent5aa07e9eb97f6233f47aa8a79fb0890fca14f427 (diff)
parentf725580ecffa96cb0bfd526737586f7a36499286 (diff)
Merge PR #7350: Updating CI to recent changes in Mtac2 (former MetaCoq)
Diffstat (limited to 'dev/ci/ci-mtac2.sh')
-rwxr-xr-xdev/ci/ci-mtac2.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev/ci/ci-mtac2.sh b/dev/ci/ci-mtac2.sh
new file mode 100755
index 0000000000..1372acb8e5
--- /dev/null
+++ b/dev/ci/ci-mtac2.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+
+ci_dir="$(dirname "$0")"
+. "${ci_dir}/ci-common.sh"
+
+unicoq_CI_DIR=${CI_BUILD_DIR}/unicoq
+mtac2_CI_DIR=${CI_BUILD_DIR}/Mtac2
+
+# Setup UniCoq
+
+git_checkout "${unicoq_CI_BRANCH}" "${unicoq_CI_GITURL}" "${unicoq_CI_DIR}"
+
+( cd "${unicoq_CI_DIR}" && coq_makefile -f Make -o Makefile && make && make install )
+
+# Setup MetaCoq
+
+git_checkout "${mtac2_CI_BRANCH}" "${mtac2_CI_GITURL}" "${mtac2_CI_DIR}"
+
+( cd "${mtac2_CI_DIR}" && coq_makefile -f _CoqProject -o Makefile && make )