Skip to content

Use ccache#34

Merged
adsharma merged 4 commits intomasterfrom
ccache_opt
Nov 2, 2025
Merged

Use ccache#34
adsharma merged 4 commits intomasterfrom
ccache_opt

Conversation

@adsharma
Copy link
Copy Markdown
Contributor

@adsharma adsharma commented Nov 1, 2025

Keep the planet green.

@adsharma
Copy link
Copy Markdown
Contributor Author

adsharma commented Nov 1, 2025

There are actually two caching strategies here:

  • ccache used in shell-test (ubuntu-latest only)
  • cache (which is a cache of the build dir that is reused across java, python and precompiled workloads).

I have used ccache in the past. The other strategy is new to me.

@adsharma
Copy link
Copy Markdown
Contributor Author

adsharma commented Nov 1, 2025

ccache is effective. Build step completed in 30s instead of 25m in run #3 here vs run #2.

https://github.com/LadybugDB/ladybug/actions/runs/19002850417/job/54275375570

@adsharma
Copy link
Copy Markdown
Contributor Author

adsharma commented Nov 1, 2025

Test run for the effectiveness of actions/cache strategy.

https://github.com/LadybugDB/ladybug/actions/runs/19004368916

Comment thread CMakeLists.txt Outdated
@adsharma adsharma merged commit 0df315b into master Nov 2, 2025
24 checks passed
@adsharma adsharma deleted the ccache_opt branch November 2, 2025 02:06
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.

2 participants