#!/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-ci.sh                                       && \
  make )

#!/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 )

--- 
+++ 
@@ -8,9 +8,5 @@
 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                        && \
+  ./configure-ci.sh                                       && \
   make )
Fix GeoCoq build by using a shared CI configure.

See also GeoCoq/GeoCoq#7.
