Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a disk cache on windows #1874

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Use a disk cache on windows #1874

wants to merge 1 commit into from

Conversation

avdv
Copy link
Member

@avdv avdv commented Mar 3, 2023

Building on windows currently takes a long time (> 2h) and fails eventually when the connection to the build event upload service is closed.

Using a disk_cache which is stored in Github's action cache hopefully avoids building stackage libraries every time.

Currently the cache key depends on the hash of the stackage_snapshot.yaml file, so it is evicted whenever that file changes. There is no cache cleanup done currently.

@avdv avdv mentioned this pull request Mar 20, 2023
Building on windows currently takes a long time (> 2h) and fails eventually when the connection to
the build event upload service is closed.

Using a disk_cache which is stored in Github's action cache hopefully avoids
building stackage libraries every time.

Currently the cache key depends on the hash of the `stackage_snapshot.yaml` file, so it is
evicted whenever that file changes. There is no cache cleanup done currently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant