ci: prebuild WDA runners and publish to Cloudflare R2#13
Merged
Conversation
Add .github/workflows/prebuild-r2.yml, which builds the six prebuilt WebDriverAgentRunner artifacts (iOS/tvOS, real device + simulator arm64/x86_64) and mirrors them to Cloudflare R2 under releases/mobilerun-wda/, following the droidrun-ios release/preview pattern plus a latest/ folder: release published -> releases/mobilerun-wda/<tag>/ + .../latest/ push to master -> releases/mobilerun-wda/preview/ Each job checks out submodules and builds HevSocks5Tunnel.xcframework before the iOS runner build, since WebDriverAgentRunner now links the WebDriverAgentTunnel appex. Builds stay unsigned (signed at install time). Requires repo secrets R2_ACCOUNT_ID / R2_ACCESS_KEY_ID / R2_SECRET_ACCESS_KEY and var R2_BUCKET. Remove the superseded wda-package.yml (manual, artifact-only, and already broken here because it never built the tunnel xcframework). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Timo972
added a commit
that referenced
this pull request
Jun 15, 2026
ci: drop SOCKS5 tunnel build from prebuild workflow (fix for #13)
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.
What
Adds
.github/workflows/prebuild-r2.yml, which builds the prebuilt WebDriverAgentRunner artifacts and mirrors them to Cloudflare R2 underreleases/mobilerun-wda/, following thedroidrun-iosrelease/preview pattern — plus alatest/folder that always points at the newest tagged release.release: publishedreleases/mobilerun-wda/<tag>/andreleases/mobilerun-wda/latest/(+ attached to the GitHub Release)masterreleases/mobilerun-wda/preview/workflow_dispatchpreview/when run frommaster, build-only otherwiseBuilds the full six-variant set (same as the old
wda-package.yml): iOS + tvOS, real device + simulator (arm64 & x86_64). Each folder also getsSHA256SUMSandBUILD_INFO.txt(commit, ref, build date). Artifact file names are kept stable so consumers get predictable URLs, e.g.…/releases/mobilerun-wda/latest/WebDriverAgentRunner-Runner.zip.Why
WDA artifacts were only ever produced as throwaway GitHub Actions artifacts via the manual
wda-package.yml— no R2, no versioning. mobilerun consumes a prebuilt runner, so we need versioned +latest+previewartifacts in R2, matching howmobilerun-iosis published.Notes
submodules: recursiveand buildsHevSocks5Tunnel.xcframework(viaScripts/build-hev-socks5-tunnel.sh) before the iOS runner build, becauseWebDriverAgentRunnernow links theWebDriverAgentTunnelappex. tvOS rows skip this (they don't link the tunnel). The removedwda-package.ymldid neither and was already broken on this line.CODE_SIGNING_ALLOWED=NO(existingScripts/ci/build-*.sh); the runner is signed at install time. No Apple secrets needed.Scripts/*changes —build-real.sh,build-sim.sh, andbuild-hev-socks5-tunnel.share reused as-is.wda-package.yml— superseded; its manual-build use case is covered byworkflow_dispatchhere.wda-tests.yml/functional-test.yml/unit-test.yml.Required before this works
Add in repo Settings → Secrets and variables → Actions (point at the same bucket as
mobilerun-ios):R2_ACCOUNT_ID,R2_ACCESS_KEY_ID,R2_SECRET_ACCESS_KEYR2_BUCKETThe upload steps will fail until these are configured.
Verification plan
workflow_dispatchfrom this branch → confirm all six zips build green (proves the submodule + tunnel-xcframework fix).preview/populates.v0.0.0-test) → confirm<tag>/+latest/populate; re-tag confirmslatest/is overwritten but old<tag>/is preserved. Spot-check a zip containsPlugIns/WebDriverAgentTunnel.appex.🤖 Generated with Claude Code