Skip to content

Cache Hermes build dir when building the test app #138

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

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

Conversation

kraenhansen
Copy link
Collaborator

@kraenhansen kraenhansen commented Jun 23, 2025

In an attempt to speed up the native builds, I was contemplating caching the Hermes build directory.

@kraenhansen kraenhansen self-assigned this Jun 23, 2025
Copy link

changeset-bot bot commented Jun 23, 2025

⚠️ No Changeset found

Latest commit: 0d915ef

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kraenhansen kraenhansen changed the base branch from main to kh/mocha-remote June 23, 2025 20:20
@kraenhansen
Copy link
Collaborator Author

For some reason the cache action fails to save the Hermes build directory on Android / Linux: https://github.com/callstackincubator/react-native-node-api/actions/runs/15834266404/job/44634111489?pr=138#step:33:3

Failed to save: Unable to reserve cache with key Linux-hermes, another job may be creating this cache.

I'll leave this PR in draft for a bit - but also don't want to sink too much time into this 😬

@kraenhansen kraenhansen force-pushed the kh/mocha-remote branch 2 times, most recently from 09f89d6 to 5c74bb9 Compare June 24, 2025 11:24
@kraenhansen kraenhansen force-pushed the kh/cache-hermes-build-dir branch from a607007 to d1ae970 Compare June 24, 2025 19:47
Base automatically changed from kh/mocha-remote to main June 25, 2025 06:18
@kraenhansen kraenhansen force-pushed the kh/cache-hermes-build-dir branch from d1ae970 to 0d915ef Compare June 25, 2025 08:35
@kraenhansen kraenhansen force-pushed the main branch 4 times, most recently from 90dd405 to 8dac805 Compare July 7, 2025 12:30
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.

1 participant