x/build: allow x/mobile tests run on darwin/arm64 #48142
Labels
Builders
x/build issues (builders, bots, dashboards)
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The x/mobile is an experimental repository that skips many builders. Its current builders include android/386, android/amd64, and ios/arm64.
While working on CL 346150, we found that tests in x/mobile are not tested on a macOS. This may cause issues:
cmd/gomobile
may be partially broken without any notice (Mac tests had broken for quite a long time until recent fixes), which leads to the runtime support for iOS being unverifiable (not a wanted behavior).Since we already have a darwin/arm64 environment (
darwin-arm64-11_0-toothrot
), we may use it as a builder for x/mobile.A further concern is that x/mobile tests may require an Xcode installation with a valid Apple Developer account. However, Xcode is not forward-compatible (earlier Xcode versions may not work with later Xcode-specific changes). If a CL targets a newer Xcode release, it may not be testable until the environment is ready. Consider this reason, a dedicated environment with multiple Xcode installations may be better.
@dmitshur @hyangah @hajimehoshi
The text was updated successfully, but these errors were encountered: