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

Test local cache in the CI #22578

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

Conversation

hamzaremmal
Copy link
Member

@hamzaremmal hamzaremmal commented Feb 10, 2025

[skip ci]

@hamzaremmal hamzaremmal self-assigned this Feb 10, 2025
.withLocal(buildCache.local.withEnabled(false))
.withRemote(buildCache.remote.withEnabled(false))
.withLocal(buildCache.local
.withDirectory(file("/nfs-cache/.develocity/build-cache"))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This directory should only be configured when we run on the CI

@hamzaremmal hamzaremmal force-pushed the hr/develocity-local-cache branch 5 times, most recently from d16c9ed to 3aa19d6 Compare February 10, 2025 22:07
@hamzaremmal hamzaremmal force-pushed the hr/develocity-local-cache branch from 3aa19d6 to 1bc1df9 Compare February 10, 2025 22:20
@adpi2
Copy link
Member

adpi2 commented Feb 11, 2025

Looks like it's working: the build-bootstrapped could restore the non-bootstrapped compilation from the cache:

[info] Restoring compiler state for scala3-compiler / Compile from build cache with key 38d3173a09b8fc66852272c916ac0538.

🥳

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.

2 participants