-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Currently, each job takes around 20 minutes. We could save time if we prebuilt dependencies. There are several ways to go about it.
-
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.
-
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.
-
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.)