aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-metacoq.sh
blob: c813b1fe9942e49b907e481183e66e7c4f538e35 (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")"
source ${ci_dir}/ci-common.sh

unicoq_CI_DIR=${CI_BUILD_DIR}/unicoq
metacoq_CI_DIR=${CI_BUILD_DIR}/MetaCoq

# 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 ${metacoq_CI_BRANCH} ${metacoq_CI_GITURL} ${metacoq_CI_DIR}

( cd ${metacoq_CI_DIR} && coq_makefile -f _CoqProject -o Makefile && make )