Skip to content

Add builder ios share command - #5

Merged
Interlap01 merged 1 commit into
mainfrom
ios-share-command
Aug 8, 2026
Merged

Add builder ios share command#5
Interlap01 merged 1 commit into
mainfrom
ios-share-command

Conversation

@Interlap01

Copy link
Copy Markdown
Collaborator

Adds builder ios share: builds the working tree for the iOS simulator on GitHub Actions and publishes that simulator to the MobAI app (under CI Devices), so a build can be tried by hand without a Mac.

What it does

  • builder init now also writes .github/workflows/ios-share.yml (dispatch-only, costs nothing until used).
  • builder ios share snapshots the working tree, triggers the workflow, follows it until the publish step, then returns — the job deliberately outlives the command (the sim stays up until released in MobAI or left unused).
  • Ctrl+C before the sim is shared cancels the workflow run (CancelWorkflowRun), so aborting a build never leaves a runner building for nothing. Once the sim is published, an interrupt is a no-op — the job is meant to outlive the command.

Notes

  • Requires MobAI Pro and a MOBAI_API_KEY repository secret.
  • Verified end to end against a real repo: build → publish → drive the sim in MobAI → clean teardown.
  • gofmt, go vet, and golangci-lint (v2.12.2, CI-pinned) all clean.

Builds the working tree for the iOS simulator on GitHub Actions and
publishes that simulator to the MobAI app (CI Devices), so a build can be
tried by hand without a Mac. The workflow ships via 'builder init' and is
dispatch-only. Ctrl+C before the sim is shared cancels the run so no
runner keeps building; after that the job outlives the command by design.

Requires MobAI Pro and a MOBAI_API_KEY repository secret.
@Interlap01
Interlap01 merged commit c03c697 into main Aug 8, 2026
8 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