aboutsummaryrefslogtreecommitdiffhomepage
path: root/dev/ci/ci-common.sh
Commit message (Collapse)AuthorAge
* [ci] Expose updated `OCAMLPATH` for CI users.Gravatar Emilio Jesus Gallego Arias2018-06-02
| | | | | This is needed for CI packages that use `META.coq` such as in https://github.com/coq/coq/pull/7656 .
* Merge PR #7514: [ci] Don't build lite versions of CI developments.Gravatar Gaëtan Gilbert2018-05-16
|\
| * [ci] Don't build lite versions of CI developments.Gravatar Emilio Jesus Gallego Arias2018-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the original Travis CI setup, the per-job time limit was an issue. However, Gitlab has much improved this problem due to a) Coq not being built for each contrib, b) user-configurable time limit. We thus disable the expensive builds from Travis: `fiat-crypto`, `formal-topology`, `geocoq`, `iris-lambda-rust`, `math-comp`, `unimath`, `vst` and instruct Gitlab to build [`geocoq`, `math-comp`, `unimath`, `vst`] in full. We also update the `math-comp` script as the `odd-order` theorem lives in a separate repository and it is a key CI case.
* | Pick up user overlays when running GitLab CI on PRs.Gravatar Théo Zimmermann2018-05-14
|/
* Improve shell scriptsGravatar zapashcanon2018-04-05
|
* ci-common: guess CI_BRANCH for local buildsGravatar Gaëtan Gilbert2018-02-07
|
* Put default value for NJOBS in ci-common.Gravatar Gaëtan Gilbert2018-01-30
|
* Source basic overlay before user overlays.Gravatar Gaëtan Gilbert2018-01-16
|
* Cleanup shell expansions and quoting.Gravatar Gaëtan Gilbert2018-01-16
|
* Fix overlay selection for Circle CI.Gravatar Gaëtan Gilbert2017-12-26
|
* Fix CI with parallel make (messed up dependencies)Gravatar Gaëtan Gilbert2017-12-21
| | | | | | | | | When invoking through Makefile we always rebuild dependencies. To skip dependencies, invoke ci-wrapper directly. We make Circle CI do this. In order to properly support invoking ci-wrapper directly we replace "make" in ci-common by a bash function which adds -j to the make invocation outside submakes. We also set TIMED in the ci-wrapper.
* In gitlab set TRAVIS_BRANCH so user overlays will work as expected.Gravatar Gaëtan Gilbert2017-09-20
|
* Fix GitLab CIGravatar Gaëtan Gilbert2017-09-13
| | | | | | | | | - timing needs time and python - check for compiled files without source looks in the install directory (except for make -f Makefile.ci which doesn't check), as such the install directory has been renamed to _install_ci and isn't searched.
* Merge branch 'v8.6'Gravatar Pierre-Marie Pédrot2017-07-04
|\
| * Remove -j ${NJOBS} from make invocations in the ciGravatar Jason Gross2017-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html#Options_002fRecursion it's not necessary, because we pass `-j ${NJOBS}` to the top-level `make` invocation in `.travis.yml`. Additionally, explicitly passing `-j` in, e.g., fiat-crypto, results in error messages such as ``` make[2]: *** write jobserver: Bad file descriptor. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: *** write jobserver: Bad file descriptor. Stop. make[1]: *** [coqprime] Error 2 make[1]: INTERNAL: Exiting with 1 jobserver tokens available; should be 2! make[1]: Leaving directory `/home/travis/build/JasonGross/coq/_build_ci/fiat-c ``` because the `-j` on the `make` in the `ci-fiat-crypto.sh` script disables jobserver mode, and the submake in fiat-crypto to make coqprime does not explicitly pass `-j`, and so reenables jobserver mode, and then `make` gets very confused. Commit made with ```bash cd dev/ci git grep --name-only -- 'make -j ${NJOBS}' | xargs sed s'/make -j \${NJOBS}/make/g' -i git grep --name-only -- 'make -f Makefile.coq -j ${NJOBS}' | xargs sed s'/make -f Makefile.coq -j \${NJOBS}/make -f Makefile.coq/g' -i ```
* | Each user overlay goes into its own file.Gravatar Théo Zimmermann2017-06-16
| | | | | | | | This will avoid stupid merge conflicts in the future.
* | Gitlab CIGravatar Gaëtan Gilbert2017-05-28
| |
| * [travis] Backport from trunk: VSTGravatar Emilio Jesus Gallego Arias2017-03-24
| |
* | [travis] Fix iris-coq build.Gravatar Emilio Jesus Gallego Arias2017-03-22
| | | | | | | | | | | | | | We need to do a bit of hacking, but it should be fine for the short term. c.f. https://gitlab.mpi-sws.org/FP/iris-coq/issues/83
| * [travis] [8.6.only] Backport latest changes from trunk.Gravatar Emilio Jesus Gallego Arias2017-03-22
| |
* | [travis] Basic support for overlays.Gravatar Emilio Jesus Gallego Arias2017-03-13
| | | | | | | | | | | | | | We now allow the user to overlay contribution repositories and branches by adding their own rules to `ci-basic-overlay.sh`. This just provides very basic support.
* | [travis] Make the git_checkout function more reliable.Gravatar Théo Zimmermann2017-03-10
| | | | | | | | | | | | This commit also documents the behavior of said function; and fix the location of the ssreflect clone to an absolute path (this is now necessary).
* | [travis] Change headband for wider compatibility.Gravatar Théo Zimmermann2017-03-10
| |
* | Improve build of travis target on local machine.Gravatar Théo Zimmermann2017-03-10
| | | | | | | | | | - Move the git clones to a specific subfolder to avoid pollution. - Do not fail when git clone already exist (but make sure it is up-to-date).
| * [travis] Backport trunk's travis support.Gravatar Emilio Jesus Gallego Arias2017-03-02
|
* [travis] [External CI] CompCert official 8.6 support + UniMathGravatar Emilio Jesus Gallego Arias2017-02-15
|
* [travis] [External CI] Factor out math-comp installs.Gravatar Emilio Jesus Gallego Arias2017-02-15
| | | | | We make math-comp overlays easier, we also start structuring the scripts a bit more.
* [travis] Move ci files from `tools` to `dev`.Gravatar Maxime Dénès2017-02-07