Skip to content

CI(docs): Add ccache to builds #5641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

echoix
Copy link
Member

@echoix echoix commented May 12, 2025

Amongst other things, I explored using ccache for the docs workflow, which builds grass and grass-addons. Since grass-addons don't change often, it has a high chance of benefiting of ccache. It is already used in the grass-addons repo where it provides an small advantage there too.

As expected, most calls can be a cache hit, as shown in a screenshot of a run with a small, non-c change committed after a previous run.
image
image

For the time savings, these two show a 2 minute improvement. The time taken and reductions are consistent with what we can see in grass-addons repo.
image

@github-actions github-actions bot added the CI Continuous integration label May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant