Skip to content

ci: add iOS build/test and release workflows - #4

Merged
fiftynotai merged 1 commit into
mainfrom
chore/ios-ci
Jun 9, 2026
Merged

fiftynotai merged 1 commit into
mainfrom
chore/ios-ci

Conversation

@fiftynotai

Copy link
Copy Markdown
Collaborator

Summary

iOS had no CI. This adds two GitHub Actions workflows, bringing it to parity with the Android repo (and adding the build/test gate Android already gets locally).

ci.yml — build & test

  • Triggers on push/PR to main + manual dispatch.
  • Runs xcodebuild test against the shared CustomerPulse scheme on a dynamically-selected available iPhone simulator (avoids the brittle hardcoded name=iPhone 15 Pro,OS=latest destination).

release.yml — lint + release + publish

  • Triggers on semver tags ([0-9]+.[0-9]+.[0-9]+, matching the pod version scheme — no v prefix).
  • pod spec lint, then a draft GitHub release, then pod trunk push only if the COCOAPODS_TRUNK_TOKEN repo secret is set (otherwise skipped with a notice). Merging this changes nothing until you opt in by adding the secret.

Refs TD-001. This PR run exercises ci.yml itself.

CI: build + run XCTest on every push/PR to main via the shared
CustomerPulse scheme (dynamic simulator selection).
Release: on semver tag, lint the podspec, cut a draft GitHub release,
and publish to CocoaPods trunk when COCOAPODS_TRUNK_TOKEN is set.

Brings iOS to CI parity with the Android repo. Refs TD-001.
@fiftynotai
fiftynotai merged commit b7973f5 into main Jun 9, 2026
1 check passed
@fiftynotai
fiftynotai deleted the chore/ios-ci branch June 9, 2026 08:54
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