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

Accelerate CI #45

Merged
merged 1 commit into from
Jun 14, 2023
Merged

Conversation

Yury-Fridlyand
Copy link
Collaborator

Description

Save and restore vcpkg status in GHA cache to accelerate the build. CI run which misses cache takes 23-30 min, CI which hits the cache runs 3-4 min.
Updating dependency versions in src/vcpkg.json file causes cache miss. Cache entries are auto-deleted if not used for more than 2 weeks AFAIK.

Issues Resolved

N/A

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Copy link
Collaborator

@MaxKsyunz MaxKsyunz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered using existing vcpkg-specific GitHub action?

Here's a mention of one provided by Microsoft.

@Yury-Fridlyand
Copy link
Collaborator Author

Nice finding! But I don't understand how I can use that...

@Yury-Fridlyand Yury-Fridlyand merged commit d3b9cd9 into opensearch-project:main Jun 14, 2023
8 checks passed
@Yury-Fridlyand Yury-Fridlyand deleted the update-ci branch June 14, 2023 20:01
@Yury-Fridlyand Yury-Fridlyand mentioned this pull request Jun 23, 2023
6 tasks
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.

None yet

5 participants