blob: 1ea56af29a7efaf387bf16dccb7136cfd23e0e00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/usr/bin/env bash
ci_dir="$(dirname "$0")"
source ${ci_dir}/ci-common.sh
unicoq_CI_BRANCH=master
unicoq_CI_GITURL=https://github.com/unicoq/unicoq.git
unicoq_CI_DIR=${CI_BUILD_DIR}/unicoq
metacoq_CI_BRANCH=master
metacoq_CI_GITURL=https://github.com/MetaCoq/MetaCoq.git
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 -j ${NJOBS} && 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 -j ${NJOBS} )
|