Skip to content

Run CI on arm macos-26, with Android emulator tests on ubuntu-24.04 - #591

Merged
piercifani merged 1 commit into
skiptools:mainfrom
piercifani:ci/arm-macos-ubuntu
Oct 24, 2026
Merged

piercifani merged 1 commit into
skiptools:mainfrom
piercifani:ci/arm-macos-ubuntu

Conversation

@piercifani

@piercifani piercifani commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

What

One step of skiptools/actions#23. CI moves off macos-26-intel and now takes about 16–19 min instead of 81 min, plus no wait for an Intel runner. It runs as two jobs:

  • macos-26 (arm): host swift test, Robolectric, skip android build, export and iOS, all as before. The emulator steps are skipped there because arm macOS runners can't host the emulator.
  • ubuntu-24.04: the Android emulator tests. skip-ui's host swift test doesn't build on Linux (CoreGraphics, SwiftUI), so this job uses emulator-host-build: transpile. It transpiles the test target and runs connectedDebugAndroidTest on the Gradle project directly, with no Linux port of skip-ui.

emulator-host-build comes from skiptools/actions#25, released in v1.8.3 and now in @v1.

Before / after

main, run 39971676725 → this PR, run 40077018275 on @v1. An earlier fork run, 40073488944, gave the same counts. Executed tests, counted from the logs:

before (macos-26-intel) after
macOS host swift test 131, 64 skipped 131, 64 skipped (macos-26)
Robolectric 214, 19 skipped 214, 19 skipped (macos-26)
iOS 131, 71 skipped 131, 71 skipped (macos-26)
emulator 214, 14 skipped (Intel) 214, 14 skipped (Ubuntu); the same 14 are skipped
macOS job 81 min 16.5 min (19 min in the fork run)
Ubuntu job — 16 min (12 min in the fork run)

Side effects

  • The emulator tests no longer run from a macOS host. The same 214 run on Ubuntu, started by Gradle instead of XCSkipTests.
  • On tags, only the macOS job runs, and it still does the release.

Verified

  • This PR's run and the fork run above.

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test (CI-only change; the fork run executes it)
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device (the CI emulator, above)
  • REQUIRED: I have checked whether this change requires a corresponding update in the Skip Fuse UI repository (it can follow the same pattern; not done here)
  • OPTIONAL: I have added an example of any UI changes to the Showcase sample app

  • AI was used to generate or assist with generating this PR. Written with Claude Code: the change, the fork run and the test counts above, each taken from a run.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cla-bot cla-bot Bot added the cla-signed label Oct 24, 2026
@piercifani piercifani closed this Oct 24, 2026
@piercifani piercifani reopened this Oct 24, 2026
@piercifani
piercifani marked this pull request as ready for review October 24, 2026 08:29
@piercifani
piercifani merged commit 5504558 into skiptools:main Oct 24, 2026
3 checks passed
@piercifani
piercifani deleted the ci/arm-macos-ubuntu branch October 24, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant