Skip to content

Shorten duration of documentation CI job. #59

@Zimmi48

Description

@Zimmi48

@palmskog You were worried about CI length: it turns out that the CI job that was already the lengthiest (building the documentation) is impacted by the addition of Gaia as a dependency, since it also needs to install all of hydra-battles dependencies. I'll open a separate issue about this.

Originally posted by @Zimmi48 in #55 (comment)

More generally, the duration issues of this job come from several sources:

  • install dependencies: 9 minutes
    • the introduction of Gaia impacted this duration by about 6 minutes
    • before then, there was already the issue of building mathcomp, because the workflow uses the standard Coq images to be able to set the correct OCaml compiler version for SerAPI
  • install Alectryon: 4 minutes (this includes in particular building SerAPI and its dependencies).

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions