Skip to content

ci: cache ccache across build and reprotest runs - #11

Open
j4n wants to merge 1 commit into
masterfrom
j4n/ccache
Open

ci: cache ccache across build and reprotest runs#11
j4n wants to merge 1 commit into
masterfrom
j4n/ccache

Conversation

@j4n

@j4n j4n commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Every leg recompiles from scratch each run, and reprotest recompiles twice more on top of that. This commit introduces ccache for both jobs, keyed per distro/arch; reprotest reuses the build job's artifacts. Cache size capped at --max-size=500M for now, stats logged; with these on the first (cold) run:

Cacheable calls:   1800 / 2374 (75.82%)
  Hits:              13 / 1800 ( 0.72%)
  Misses:          1787 / 1800 (99.28%)
  Cache size (GB): 0.13 / 2.00 ( 6.47%)

@j4n j4n self-assigned this Aug 5, 2026
@j4n
j4n force-pushed the j4n/ccache branch 2 times, most recently from 01d8896 to 52aac09 Compare August 6, 2026 15:51
@j4n
j4n requested a review from missytake August 6, 2026 15:51
Every leg recompiles from scratch each run, and reprotest recompiles
twice more on top of that. This commits introduces ccache for both jobs,
keyed per distro/arch; reprotest reuses the build job's artifacts.
Cache size capped at --max-size=500M, stats logged, roughly 150M now.
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