Skip to content
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

CI: Use ccache + GitHub 'cache' action to greatly speed up CI runs #1335

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Feb 10, 2021

This speeds up CI builds by 50% or more, for PRs that are minor
changes by reusing the compiled results from previous runs. Most of
the remaining time cannot be squeezed down -- it's the instantiation
of docker containers and running the testsuite itself. But the build
(including of dependencies we build from scratch) is dramatically
faster.

At the same time, remove some commented-out test matrix cases. When/if
we re-enable those tests, we can add those back.

Signed-off-by: Larry Gritz [email protected]

This speeds up CI builds by 50% or more, for PRs that are minor
changes by reusing the compiled results from previous runs.  Most of
the remaining time cannot be squeezed down -- it's the instantiation
of docker containers and running the testsuite itself. But the build
(including of dependencies we build from scratch) is dramatically
faster.

At the same time, remove some commented-out test matrix cases. When/if
we re-enable those tests, we can add those back.

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz merged commit 64ccf25 into AcademySoftwareFoundation:master Feb 10, 2021
lgritz added a commit to lgritz/OpenShadingLanguage that referenced this pull request Feb 10, 2021
…cademySoftwareFoundation#1335)

This speeds up CI builds by 50% or more, for PRs that are minor
changes by reusing the compiled results from previous runs.  Most of
the remaining time cannot be squeezed down -- it's the instantiation
of docker containers and running the testsuite itself. But the build
(including of dependencies we build from scratch) is dramatically
faster.

At the same time, remove some commented-out test matrix cases. When/if
we re-enable those tests, we can add those back.

Signed-off-by: Larry Gritz <[email protected]>
@lgritz lgritz deleted the lg-ccache branch February 18, 2021 07:23
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