| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | ci_dir="$(dirname "$0")" |
| 6 | . "${ci_dir}/ci-common.sh" |
| 7 | |
| 8 | git_download coq_tools |
| 9 | |
| 10 | if [ "$DOWNLOAD_ONLY" ]; then exit 0; fi |
| 11 | |
| 12 | jason_msg() { |
| 13 | echo "The build broke, if an overlay is needed, mention @JasonGross in describing the expected change in Rocq that needs to be taken into account, and he'll prepare a fix for coq-tools" |
| 14 | exit $1 |
| 15 | } |
| 16 | |
| 17 | ( cd "${CI_BUILD_DIR}/coq_tools" |
| 18 | python -m venv .venv && . .venv/bin/activate && python -m pip install . |
| 19 | make check || jason_msg $? |
| 20 | ) |