You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many projects use dune build manager to generate the .opam file by running dune build.
It would be nice if the action could handle that step automatically.
Hi @adrianleh, thanks for opening this discussion!
On the one hand, the default entrypoint of docker-coq-action is the existence of an .opam file (which is necessary at least for knowing the list of opam dependencies of the project). Besides, not all projects use dune, e.g., the main Coq libraries I'm involved in use coq_makefile, notably because the longstanding compatibility issues of dune with CEP 48.
On the other hand, the docker-coq-action has been devised with a focus of customization, typically:
you can override the standard test-script by adding a custom bash script after custom_script: (see this example)
or less abruptly, you could override the initial command before_install:, to prepend a dune command or so, e.g.:
Currently we have to … or install coq and dune manually in the CI.
Either I didn't understand you remark, or you forgot that with docker-coq-action's default images, coq and dune are already installed (here is the current version of dune).
Many projects use dune build manager to generate the
.opam
file by runningdune build
.It would be nice if the action could handle that step automatically.
As an example project, where this would come in useful, see https://github.com/inQWIRE/QuantumLib
Currently we have to generate the
.opam
locally and then push or install coq and dune manually in the CIThe text was updated successfully, but these errors were encountered: