Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hey,
I wonder if it's possible to share the Rust project (Maturin-based) build artifacts across CI runs so that only incremental compilation can be performed.
I suppose it would mean to copy the target directory for each configuration and inject it in the next run.

However, I cannot find a suitable cibuildwheel hook (something like CIBW_AFTER_BUILD) to execute the cache saving logic. Any ideas?

You must be logged in to vote

Replies: 1 comment

Comment options

This is a common request - e.g.

I think what's lacking here is a concrete proposal for how such a feature would work. It could try to tackle the non-build outputs in a general way, have some kind of sync mechanism for cache dirs in docker containers, or just be a simple after-all command that uses the /host mount for file transfer. Each have their respective merits!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.