ci: add App Size check job#1042
Merged
Merged
Conversation
|
|
Adds an `app-size` job to ci.yaml that archives an empty iOS app and a LiveKit "hello world" app (SwiftUI, unsigned, arm64 device slice, via xcodegen) on every PR and reports the SDK's size impact to the job summary: - uncompressed `.app` delta (benchmark) + compressed IPA delta (info) - frameworks-vs-compiled-Swift breakdown, per-library via the linker map - budget gate (SIZE_BASELINE_MB +/- SIZE_TOLERANCE_PCT): within baseline, within tolerance (::warning::), or over (::error::, fails the job) Self-contained under .github/size-check: a swift-sh script (ArgumentParser + Files + ShellOut) run via `swiftly run +xcode swift-sh`, plus project.yml and two minimal apps targeting iOS 26. The xcodegen-generated Info.plist and xcodeproj are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
085a4e5 to
28e2485
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an
App SizeCI job that archives an empty vs LiveKit-integrated iOS app on every PR and reports the SDK's app-size impact to the job summary (per-library breakdown + a baseline budget gate that warns within tolerance and fails when exceeded).