Skip to content

Conversation

sideeffffect
Copy link

No description provided.

Copy link
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@sideeffffect
Copy link
Author

I've noticed that compiling Rust takes a lot of time in CI. Hopefully this will help 🤞

- name: Bootc Ubuntu Setup
uses: ./.github/actions/bootc-ubuntu-setup
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2

This comment was marked as resolved.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for the suggestion 👍

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh. I guess they release some actions to the public and not others. I couldn't see any docs that suggested it was paywalled.

@sideeffffect sideeffffect force-pushed the rust-cache branch 2 times, most recently from b0ac038 to 6e01f8c Compare October 8, 2025 00:38
@cgwalters
Copy link
Collaborator

Hi, thanks for submitting this! In general actually I'm trying to move most things into a container build, and there's some more nontrivial work to enable using this action with that.

We're relying today on intermediate cache layers in the container build. Now docker does have support for caching layers to/from GHA but podman doesn't directly. It might not be had to add though.

My inclination on compliation speedup here was to look at https://github.com/mozilla/sccache/

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.

3 participants