Skip to content

ci: run swift test only on PRs, release build on main - #16

Merged
novr merged 2 commits into
mainfrom
ci/pr-test-only
Jul 23, 2026
Merged

ci: run swift test only on PRs, release build on main#16
novr merged 2 commits into
mainfrom
ci/pr-test-only

Conversation

@novr

@novr novr commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • PR: test job only (swift test) — expected ~3–5 min instead of ~18 min
  • main push: test + release-build (universal release binary + lipo) in parallel

Test plan

  • PR CI runs only the test job
  • Merge to main runs both test and release-build

Notes

  • If branch protection requires a specific check name, add release-build as a required check for main merges (optional; test alone may suffice for PR gate).

novr added 2 commits July 23, 2026 13:26
Split CI into a fast test job for pull requests and a release-build job
that validates the universal binary only when main is pushed.
Add SwiftPM cache to both jobs, minos validation to release-build, and
concurrency cancellation so superseded PR runs stop early.
@novr
novr merged commit 9bfe0e8 into main Jul 23, 2026
2 checks passed
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