Skip to content

Commit

Permalink
QuickChick CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonidas committed Jun 2, 2018
1 parent fb406f8 commit 5610d73
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ ci-mtac2:
ci-pidetop:
<<: *ci-template

ci-quickchick:
<<: *ci-template

ci-sf:
<<: *ci-template

Expand Down
4 changes: 4 additions & 0 deletions Makefile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ CI_TARGETS=ci-bignums \
ci-cpdt \
ci-cross-crypto \
ci-elpi \
ci-ext-lib \
ci-equations \
ci-fcsl-pcm \
ci-fiat-crypto \
Expand All @@ -31,6 +32,7 @@ CI_TARGETS=ci-bignums \
ci-math-comp \
ci-mtac2 \
ci-pidetop \
ci-quickchick \
ci-sf \
ci-tlc \
ci-unimath \
Expand All @@ -50,6 +52,8 @@ ci-math-classes: ci-bignums

ci-corn: ci-math-classes

ci-quickchick: ci-ext-lib

ci-formal-topology: ci-corn

# Generic rule, we use make to ease travis integration with mixed rules
Expand Down
12 changes: 12 additions & 0 deletions dev/ci/ci-basic-overlay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,15 @@
########################################################################
: "${pidetop_CI_BRANCH:=v8.9}"
: "${pidetop_CI_GITURL:=https://bitbucket.org/coqpide/pidetop.git}"

########################################################################
# ext-lib
########################################################################
: "${ext_lib_CI_BRANCH:=master}"
: "${ext_lib_CI_GITURL:=https://github.com/coq-ext-lib/coq-ext-lib.git}"

########################################################################
# quickchick
########################################################################
: "${quickchick_CI_BRANCH:=master}"
: "${quickchick_CI_GITURL:=https://github.com/QuickChick/QuickChick.git}"
16 changes: 16 additions & 0 deletions dev/ci/ci-ext-lib.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash

ci_dir="$(dirname "$0")"

# This script could be included inside other ones
# Let's avoid to source ci-common twice in this case
if [ -z "${CI_BUILD_DIR}" ];
then
. "${ci_dir}/ci-common.sh"
fi

ext_lib_CI_DIR="${CI_BUILD_DIR}/ExtLib"

git_checkout "${ext_lib_CI_BRANCH}" "${ext_lib_CI_GITURL}" "${ext_lib_CI_DIR}"

( cd "${ext_lib_CI_DIR}" && make && make install)
18 changes: 18 additions & 0 deletions dev/ci/ci-quickchick.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash

ci_dir="$(dirname "$0")"

# This script could be included inside other ones
# Let's avoid to source ci-common twice in this case
if [ -z "${CI_BUILD_DIR}" ];
then
. "${ci_dir}/ci-common.sh"
fi

quickchick_CI_DIR="${CI_BUILD_DIR}/Quickchick"

install_ssreflect

git_checkout "${quickchick_CI_BRANCH}" "${quickchick_CI_GITURL}" "${quickchick_CI_DIR}"

( cd "${quickchick_CI_DIR}" && make && make install)

0 comments on commit 5610d73

Please sign in to comment.