Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP 738: clarify Android CI availability #3700

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 15 additions & 7 deletions peps/pep-0738.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
suite. Tooling will be provided to automate the process of building the test
suite app, starting the emulator, installing the test suite, and executing
Expand Down Expand Up @@ -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
emulators are only supported on ARM64 Macs.

GitHub Actions is able to host Android emulators on their Linux and macOS
runners. The free tier currently only provides x86_64 machines; however ARM64
macOS runners `recently became available on paid plans <https://github.blog/
2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/>`__.

If necessary, `Anaconda <https://anaconda.com>`__ has also offered to provide
Android CI resources.
Anaconda `has offered
<https://discuss.python.org/t/pep-738-adding-android-as-a-supported-platform/40975/20>`__
to provide physical hardware to run Android buildbots. These will include both
Linux x86_64 and macOS ARM64 machines, which would cover both supported runtime
architectures and both supported build platforms.

CPython does not currently test Tier 3 platforms on GitHub Actions, but if this
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
Expand Down