ocurrent / ocaml-ci

A CI for OCaml projects
https://ocaml.ci.dev
MIT License
111 stars 74 forks source link

`lint-doc` stage does not account for constraints on Odoc #410

Open craigfe opened 2 years ago

craigfe commented 2 years ago

Currently Irmin's documentation does not build correctly when using Odoc 2.0.{1,2} (https://github.com/ocaml/odoc/issues/793), and as a result we have added an incompatibility with these versions to irmin.opam (here).

Unfortunately, ocaml-ci does not account for the project's constraints on Odoc when installing it. This is causing Irmin's CI to fail consistently (e.g. here). Perhaps Odoc should be installed along with the project's dependencies to ensure that this doesn't happen.

tmcgilchrist commented 2 years ago

Related https://github.com/ocurrent/ocaml-ci/issues/264