Skip to content

Various attempts to speed up CI#785

Merged
ktoso merged 5 commits into
mainfrom
wip-caching
Jun 10, 2026
Merged

Various attempts to speed up CI#785
ktoso merged 5 commits into
mainfrom
wip-caching

Conversation

@ktoso

@ktoso ktoso commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator
  • more caching
  • move to noble
  • remove --disable-experimental-prebuilts where we can

ktoso added 5 commits June 10, 2026 19:47
Replace 5 inline 'actions/cache@v5' blocks with a per-site call to
.github/actions/cache_swiftpm_build, which centralizes the cache
key shape (runner.os + swift-version + os-version + tag + hashFiles)
and the restore-keys fallback. Each call site now states only what
varies: path, tag, swift-version, os-version, and the file globs to
hash. Sample-app caches keep their existing two-level fallback shape
and continue to use actions/cache directly.
@ktoso

ktoso commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator Author

Rebuilds are between 30-50% faster with this aggressive caching, so let's keep it.

@ktoso ktoso merged commit 121ccfb into main Jun 10, 2026
42 checks passed
@ktoso ktoso deleted the wip-caching branch June 10, 2026 11:26
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.

1 participant