aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-mtac2.sh
blob: 1372acb8e5549357aff8b6254409f9e45b88efbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 )