aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-geocoq.sh
blob: eadeb7c38cd7235938db70968e0cbc6e3dcee564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

ci_dir="$(dirname "$0")"
source ${ci_dir}/ci-common.sh

GeoCoq_CI_DIR=${CI_BUILD_DIR}/GeoCoq

git_checkout ${GeoCoq_CI_BRANCH} ${GeoCoq_CI_GITURL} ${GeoCoq_CI_DIR}

( cd ${GeoCoq_CI_DIR}                                     && \
  ./configure.sh                                          && \
  sed -i.bak '/Ch16_coordinates_with_functions\.v/d' Make && \
  sed -i.bak '/Elements\/Book_1\.v/d'                Make && \
  sed -i.bak '/Elements\/Book_3\.v/d'                Make && \
  coq_makefile -f Make -o Makefile                        && \
  make )