robotpy / build-actions

RobotPy github actions library
0 stars 2 forks source link

Add ccache #10

Closed virtuald closed 1 year ago

virtuald commented 2 years ago

There's a caching mechanism for github actions, this is probably doable? Not sure how much time it'll actually save though.

auscompgeek commented 2 years ago

I reckon for our larger packages (e.g. wpimath) it'd be worth it.

I'll note that we're severely limited by our Mac build parallelism - we get max 5 concurrent Mac builds before they're queued, and a single package fills that up.

ccache doesn't support MSVC though, and our Windows builds tend to take the longest. Could be worth looking into whether sccache can do the job, although I haven't used it.

virtuald commented 2 years ago

ccache has B-level MSVC support now, and is allegedly used by LibreOffice devs, so it probably works?

auscompgeek commented 1 year ago

Done in