Improve build time on CI by caching third-party libraries
Type of change
-
Bug Fix -
Feature
Does this introduce a change in the core logic?
- [No]
Does this introduce a change in the cloud provider implementation, if so which cloud?
-
AWS -
Azure -
GCP -
IBM
Updates description
- Improve build time of CI job 'compile-and-unit-test' by caching third party libraries on GitLab
- Ability for share VCPKG cache from host machine for build using 'docker-compose'
A few numbers for compare build times:
- Before VCPKG integration: ~20 minutes
- After VCPKG integration: ~26 minutes
- With caching VCPKG libraries: ~18 minutes
Additionally, what also will help to speed up builds: uncheck option "Use separate caches for protected branches" on GitLab project settings/General pipelines (GitLab Docs - Use the same cache for all branches)
Edited by Pavel Kisliak