Add macOS nightly build support via Swiftly#301
Conversation
Adds a new opt-in macos-swiftly-build job that pairs an Xcode version with a Swiftly-managed Swift toolchain (defaulting to main-snapshot), since xcrun cannot see toolchains that Swiftly selects on PATH.
|
@marcprux and @kateinoigakukun, wdyt about adding an option to build using the SDK bundles on macOS, now that OSS macOS snapshot toolchains are installed? It could be a boolean like |
I think it would be worth trying. I haven't tried building the Android SDK on macOS in a while, but the last time I tried there were some non-trivial errors I encountered (mostly related to cross-compilation from Darwin hosts, IIRC). |
Not what I'm talking about: all our prebuilt SDK bundles work well with the OSS macOS toolchain to cross-compile for linux/Android/wasm. We can provide mac->Android cross-compilation workflows for arbitrary Swift packages now, for those who want to test that and to make sure our prebuilt official SDK bundles keep working well on macOS. |
Adds a new opt-in macos-swiftly-build job that pairs an Xcode version with a Swiftly-managed Swift toolchain (defaulting to main-snapshot), since xcrun cannot see toolchains that Swiftly selects on PATH.