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

Swift: cache more aggressively in CI #11364

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

redsun82
Copy link
Contributor

@redsun82 redsun82 commented Nov 22, 2022

  • the QL compilation cache action is used for ql and integration tests
  • all caches (Bazel and QL) are populated on push

For the moment because of an internal issue with caching in order to populate the cache we need to actually run the tests. When that issue is resolved, we can create cache populating jobs on push that only compile QL and do not actually do any swift compilation.

Also, the effect of this change will only be visible once merged, as PRs like this only use the cache in read-only mode, so we need the push trigger to start doing its magic.

@github-actions github-actions bot added the Swift label Nov 22, 2022
@redsun82 redsun82 force-pushed the redsun82/swift-ci-cache branch 4 times, most recently from f3ecc7d to 406b155 Compare Nov 22, 2022
@redsun82 redsun82 changed the title Swift: use QL compilation cache for ql and integration tests in CI Swift: cache more aggressively in CI Nov 22, 2022
@redsun82 redsun82 force-pushed the redsun82/swift-ci-cache branch from 406b155 to 9d3f27e Compare Nov 23, 2022
* the QL compilation cache action is used for ql and integration tests
* all caches (Bazel and QL) are populated on push
@redsun82 redsun82 force-pushed the redsun82/swift-ci-cache branch 2 times, most recently from 319908b to 8df7d46 Compare Nov 25, 2022
@redsun82 redsun82 requested a review from AlexDenisov Nov 25, 2022
@redsun82 redsun82 marked this pull request as ready for review Nov 25, 2022
@redsun82 redsun82 requested a review from a team as a code owner Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant