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 build-speed optimisations #164

Open
firthm01 opened this issue Feb 3, 2022 · 2 comments
Open

CI build-speed optimisations #164

firthm01 opened this issue Feb 3, 2022 · 2 comments
Labels

Comments

@firthm01
Copy link
Contributor

firthm01 commented Feb 3, 2022

  • Replace cache even if cache hit (this resolves issues where the cache didn't include all vcpkg dependencies and some had to be built)
  • Perform vcpkg dependency building and caching as a separate job (cache is still saved if project build fails)
@firthm01
Copy link
Contributor Author

firthm01 commented Feb 4, 2022

  • do packaging docs out-of-date check first

@firthm01 firthm01 added the CI label Mar 20, 2024
@firthm01
Copy link
Contributor Author

firthm01 commented Jun 1, 2024

Second comment now resolved.
First comment could be achieved by running the current job up to (and including) cmake "configure" - this will build vcpkg deps. Do not do build/test/package steps. Post Cache step will store vcpkg builds. Second job should pick up as it is currently.
Note that for "good" code, this isn't really a speed optimisation - in fact probably a little slower. But it will be substantially faster when we're working with bad code and failing builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant