-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shorten duration of documentation CI job. #59
Comments
I also believe the best solution is to switch to Nix for documentation deployment. I think there is hope that there will eventually be Docker images that contain both SerAPI and Alectryon and recent OCaml (e.g., https://github.com/coq-community/docker-coq-action/issues/57), but that may take even longer than the Nix update. Another thing that could help the documentation job go quicker is to make sure it uses Dune to selectively build the needed Coq parts (for example, I don't think Pierre has plans to include the Gaia bridge code in the book for a while). |
This, or even adapt |
Indeed, I think I will spend at least a few weeks (months ?) to
- adapt to Alectryon the files part-hydras.tex and chapter-primrec.tex
- develop .v files in theories/gaia (and learn a little ssreflect :-) )
In a first time, I can also write a little doc on the Gaia bridge, with the old Coqsrc and Coqanswer blocks, while there remains building issues. It’s not hard to convert them to snippets.
I think also that it will be also necessary to adapt doc/movies/Makefile for documenting theories/additions/ with Alectryon.
… Le 18 août 2021 à 18:56, Théo Zimmermann ***@***.***> a écrit :
Another thing that could help the documentation job go quicker is to make sure it uses Dune to selectively build the needed Coq parts (for example, I don't think Pierre has plans to include the Gaia bridge code in the book for a while).
This, or even adapt doc/movies/Makefile so that the dependencies of the listed COQ_FILES are built with the coq_makefile setup.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#59 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJW6FCVSCBPMWB2NRXFGTLDT5PQ3JANCNFSM5CMNL7IQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>.
|
FTR, the total doc build duration may currently be negatively impacted by what I noticed in #71 (comment), i.e. the "Build Alectryon snippets" step in the build-doc job does not do anything anymore and the snippet building happen in the "Compile LaTeX document" step. The reason why this may negatively impact build duration is because only the former uses |
Originally posted by @Zimmi48 in #55 (comment)
More generally, the duration issues of this job come from several sources:
It seems to me that there are only two solutions: building a custom Docker image or updating this workflow to rely on Nix instead of Docker-Coq-Action. I will attempt the latter, but it may take a while.
The text was updated successfully, but these errors were encountered: