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
Currently, the Nix CI job builds Agda and the Cubical library, but throws away all the results once done typechecking. I suggest it is worth investigating whether these artifacts could be cached between runs or not
Implementation
I'm using Cachix to cache my own Agda artifacts. The setup is relatively simple (documentation):
Set up a cache at cachix.org, call it say cubical. Open-source projects get 5GiB of cache for free.
Create an API token, store it in this project's GitHub secrets
should prevent re-typechecking for documentation-only changes (or anything that doesn't touch *.agda files)
if hosted on a public cache, everyone using the provided Nix flake as an input can use the cached artifacts, avoiding the need to type-check locally (looking at you, Cubical/Experiments/ZCohomology/Benchmarks.agda 👀)
Drawbacks
Someone has to be responsible for the cachix.org cache.
???
PS: Pinging @guilhermehas who seems to be responsible for Nix CI.
The text was updated successfully, but these errors were encountered:
Currently, the Nix CI job builds Agda and the Cubical library, but throws away all the results once done typechecking. I suggest it is worth investigating whether these artifacts could be cached between runs or not
Implementation
I'm using Cachix to cache my own Agda artifacts. The setup is relatively simple (documentation):
cubical
. Open-source projects get 5GiB of cache for free.cubical
cache.Here's how I've been doing it for one of my libraries.
Benefits
*.agda
files)Cubical/Experiments/ZCohomology/Benchmarks.agda
👀)Drawbacks
PS: Pinging @guilhermehas who seems to be responsible for Nix CI.
The text was updated successfully, but these errors were encountered: