IntersectMBO / cardano-base

Code used throughout the Cardano eco-system
Apache License 2.0
93 stars 42 forks source link

Cache `dist-newstyle` Build Artifacts to Speed Up GitHub Codespace First-Launch Time #465

Closed yvan-sraka closed 5 months ago

yvan-sraka commented 6 months ago

This updates the GitHub Actions build workflow to create a per-commit artifact containing the contents of $HOME/.cache, but only for x86_64-linux.

The motivation behind this change is to speed up the initial launch of GitHub Codespace. HLS requires the project to be already built to be ready to use.

This PR opts into a feature that is implemented directly in the Codespace image, detailed in this PR.

angerman commented 6 months ago

How to trial this?

yvan-sraka commented 5 months ago

How to trial this?

Yes! We need to merge first https://github.com/input-output-hk/actions/pull/17 (that's why CI is failing)