Skip to content

CI is slow #20

@ulysses4ever

Description

@ulysses4ever

Currently, each job takes around 20 minutes. We could save time if we prebuilt dependencies. There are several ways to go about it.

  1. Reuse GitHub cache more aggressively. Currently, every commit uses its own instance of cached artifacts, so it has to rebuild a version on the first run, which isn't great.

    This is hard to setup properly because if you want to reuse cache between commits, you end up not knowing when to initialize the cache at all.

  2. Docker image. This is probably the most straightforward way but it will still require some effort unless you build Docker images on a daily basis.

  3. cabal-cache but it seems to only work with an S3-compatible backend. (It has something like "archival directory" as a backend, but the example commands seem to use S3 anyway.)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions