Skip to content

ci: Cache SwiftPM safely and remove duplicate release builds - #74

Merged
philprime merged 1 commit into
mainfrom
philprime/ci/cache-swiftpm-builds
Nov 29, 2026
Merged

philprime merged 1 commit into
mainfrom
philprime/ci/cache-swiftpm-builds

Conversation

@philprime

Copy link
Copy Markdown
Member

Reduce CI compilation and setup work while keeping cache reuse conservative. Superseded Release runs are cancelled only for the same PR, while main and tag runs use independent concurrency groups.

Cache safety

SwiftPM dependency downloads are keyed by platform and package manifests. Native test builds reuse compiled output only when the sources, manifests, build configuration, workflow definitions, compiler, runner image, and SDK fingerprint match, with no restore-key fallback. Release jobs cache dependencies and the static Linux SDK rather than accumulating compiled caches that cannot be reused because release metadata changes every run.

Required checks

The four-platform release build matrix replaces the standalone macOS release compilation. A lightweight Build check reports the matrix result to preserve the existing repository ruleset requirement.

@philprime
philprime marked this pull request as ready for review November 29, 2026 11:25
@philprime
philprime enabled auto-merge (squash) November 29, 2026 11:25
@philprime
philprime merged commit d1b3cff into main Nov 29, 2026
16 checks passed
@philprime
philprime deleted the philprime/ci/cache-swiftpm-builds branch November 29, 2026 11:30
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