| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | ci_dir="$(dirnamescip-shell system . . dirname. "$0")" |
| 6 | . "${ci_dir}/ci-common.sh" |
| 7 | |
| 8 | git_download coq_tools |
| 9 | |
| 10 | if [scip-shell system . . `[`. "$DOWNLOAD_ONLY" ]; then exit 0; fi |
| 11 | |
| 12 | jason_msgscip-shell shell shell-project 0.0.0 jason_msg().() { |
| 13 | echoscip-shell system . . 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/activatescip-shell source . . `.venv/bin/activate`. && python -m pip install . |
| 19 | makescip-shell system . . make. check || jason_msgscip-shell shell shell-project 0.0.0 jason_msg(). $? |
| 20 | ) |