From 6a6f355bcbe3dd022ff7f0c7db1071edd53275b6 Mon Sep 17 00:00:00 2001 From: Malcolm Smith Date: Mon, 4 Mar 2024 13:09:57 +0000 Subject: [PATCH] PEP 738: clarify Android CI availability (#3700) --- peps/pep-0738.rst | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/peps/pep-0738.rst b/peps/pep-0738.rst index 0c7040171..1ec69c3ed 100644 --- a/peps/pep-0738.rst +++ b/peps/pep-0738.rst @@ -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 @@ -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 `__. +Anaconda `has offered +`__ +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. -If necessary, `Anaconda `__ has also offered to provide -Android CI resources. +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 +`__. Packaging