From 9e7a47b94a333c7c4c19d31642f04b7263db415b Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Fri, 24 Apr 2020 17:14:43 -0400 Subject: [ci] Add coq-tools to the CI After #12023 broke the bug minimizer, I'd like to add [coq-tools](https://github.com/JasonGross/coq-tools/) to the CI. It's relatively light-weight (under 5 minutes, I believe), and I'd like to know when it's going to break on master before it's broken, rather than after. It tests a relatively under-tested part of Coq, mostly (the display output of error message, by and large), and I'm happy to take responsibility for fixing it when some PR is going to break it (mainly I just want a sort-of early warning system, and I want PRs to not accidentally break it by changing things that they don't realize they're changing). --- dev/ci/ci-basic-overlay.sh | 7 +++++++ dev/ci/ci-coq-tools.sh | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100755 dev/ci/ci-coq-tools.sh (limited to 'dev') diff --git a/dev/ci/ci-basic-overlay.sh b/dev/ci/ci-basic-overlay.sh index c18e556da8..88f410ef04 100755 --- a/dev/ci/ci-basic-overlay.sh +++ b/dev/ci/ci-basic-overlay.sh @@ -94,6 +94,13 @@ : "${Flocq_CI_GITURL:=https://gitlab.inria.fr/flocq/flocq}" : "${Flocq_CI_ARCHIVEURL:=${Flocq_CI_GITURL}/-/archive}" +######################################################################## +# coq-tools +######################################################################## +: "${coq_tools_CI_REF:=master}" +: "${coq_tools_CI_GITURL:=https://github.com/JasonGross/coq-tools}" +: "${coq_tools_CI_ARCHIVEURL:=${coq_tools_CI_GITURL}/archive}" + ######################################################################## # Coquelicot ######################################################################## diff --git a/dev/ci/ci-coq-tools.sh b/dev/ci/ci-coq-tools.sh new file mode 100755 index 0000000000..9c95c49c9f --- /dev/null +++ b/dev/ci/ci-coq-tools.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +ci_dir="$(dirname "$0")" +. "${ci_dir}/ci-common.sh" + +git_download coq_tools + +( cd "${CI_BUILD_DIR}/coq_tools" && make check || \ + { RV=$?; echo "The build broke, if an overlay is needed, mention @JasonGross in describing the expected change in Coq that needs to be taken into account, and he'll prepare a fix for coq-tools"; exit $RV; } ) -- cgit v1.2.3