Repository navigation
Add support for Android and iOS. - #3931
Open
freakboy3742 wants to merge 2 commits into
Open
freakboy3742 wants to merge 2 commits into
freakboy3742 wants to merge 2 commits into
Conversation
Member
|
Interesting. I don't think android and ios can ever be more than "experimental" platforms to us, but this was less invasive than I expected so I'm open to it. How long do the new CI jobs take to run? I'm a little worried about having quirky platforms that are only tested in build.yml and not test.yml (build.yml is not run on ever PR, only when we're preparing a release build, which is an awkward time to find out that something's broken). We don't test every cpu architecture in test.yml but the different CPU architectures have never been a problem for us. If it's not too expensive I'd like to add a job for each platform (just one python version) to test.yml like we've done for windows and mac. |
This branch has not been deployed
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.
Adds a build configuration, plus some test skips, to support running tornado on iOS and Android.
This is mostly of interest for Electron-style apps - i.e., apps that are a single-site web browser and a web server wrapped into one bundle. Toga's Positron plugin recently added support for Panel apps, which use Tornado as a web server.
The CI configuration is a fairly vanilla cibuildwheel configuration for iOS. This will generate ARM64 device, ARM64 simulator and x86-64 simulator wheels on iOS; and ARM64 and x86-64 wheels for Android. This configuration will only run the test suite with the iOS ARM64 simulator, and the Android x86-64 emulator. This approach is consistent with the approach taken with other projects:
The test skips are required because:
getpassmodule in the standard library