PEP 738: clarify Android CI availability (#3700)

This commit is contained in:
Malcolm Smith 2024-03-04 13:09:57 +00:00 committed by GitHub
parent a8d040aceb
commit 6a6f355bcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 6 deletions

View File

@ -205,6 +205,10 @@ an Android-compatible build from the unpatched CPython source code. It does not
necessarily require there to be any officially distributed Android artifacts on necessarily require there to be any officially distributed Android artifacts on
python.org, although these could be added in the future. python.org, although these could be added in the future.
Android will be built using the same configure and Makefile system as other
POSIX platforms, and must therefore be built *on* a POSIX platform. Both Linux
and macOS will be supported.
A Gradle project will be provided for the purpose of running the CPython test A Gradle project will be provided for the purpose of running the CPython test
suite. Tooling will be provided to automate the process of building the test suite. Tooling will be provided to automate the process of building the test
suite app, starting the emulator, installing the test suite, and executing suite app, starting the emulator, installing the test suite, and executing
@ -323,13 +327,17 @@ identical or very similar operating system binaries, testing on emulators will
be adequate. x86_64 emulators can be run on Linux, macOS or Windows, but ARM64 be adequate. x86_64 emulators can be run on Linux, macOS or Windows, but ARM64
emulators are only supported on ARM64 Macs. emulators are only supported on ARM64 Macs.
GitHub Actions is able to host Android emulators on their Linux and macOS Anaconda `has offered
runners. The free tier currently only provides x86_64 machines; however ARM64 <https://discuss.python.org/t/pep-738-adding-android-as-a-supported-platform/40975/20>`__
macOS runners `recently became available on paid plans <https://github.blog/ to provide physical hardware to run Android buildbots. These will include both
2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/>`__. Linux x86_64 and macOS ARM64 machines, which would cover both supported runtime
architectures and both supported build platforms.
If necessary, `Anaconda <https://anaconda.com>`__ has also offered to provide CPython does not currently test Tier 3 platforms on GitHub Actions, but if this
Android CI resources. ever changes, their Linux and macOS runners are also able to host Android
emulators. macOS ARM64 runners have been free to all public repositories
`since January 2024
<https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/>`__.
Packaging Packaging