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

Replace PR closure workflow with a common Conan cache creator #341

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

Twisol
Copy link
Collaborator

@Twisol Twisol commented Sep 25, 2024

  • Tickets addressed: N/A
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

This PR ensures that, whenever a(nother) PR is merged, a new Conan dependency cache is created. While all current PRs do benefit from their own caches, these are tightly scoped and must be generated fresh at least once per PR. This workflow ensures that the develop branch also has such a cache. New PRs will be able to load (or at least restore from) this cache, because it is on the develop branch, which is (1) the base branch for most PRs (and therefore its caches are accessible to most PRs), and (2) the default branch of the repository (and therefore its caches are accessible to all PRs).

This PR only adds such logic for Linux builds at the moment.

Verification

The restriction to "closed" PRs is temporarily commented out for purposes of testing this PR against the CI. It will be uncommented prior to merge, at which point we will have confidence that the workflow itself is acting as expected.

Documentation

No documentation invalidated, I think.

Future work

No specific future work, but hopefully our PRs can iterate a bit faster :)

@Twisol Twisol force-pushed the feature/cache-conan-dependencies branch 6 times, most recently from a2ea566 to 695e1ad Compare September 25, 2024 02:49
@Twisol Twisol force-pushed the feature/cache-conan-dependencies branch from 695e1ad to 272d2bd Compare September 25, 2024 03:09
@patkenneally patkenneally merged commit e394898 into develop Sep 25, 2024
1 of 3 checks passed
@patkenneally patkenneally deleted the feature/cache-conan-dependencies branch September 25, 2024 03:10
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