[Python-Dev] buildbottest on Android emulator with docker
vstinner at redhat.com
Tue Feb 19 07:10:49 EST 2019
This is cool! Sadly, I don't have the bandwidth right now to play with
it. I may have a look later.
Le ven. 15 févr. 2019 à 18:27, Xavier de Gaye <xdegaye at gmail.com> a écrit :
> The following command runs the buildbottest on an Android emulator with docker (it will use a little bit more than 11 GB):
> $ docker run -it --privileged xdegaye/abifa:r14b-24-x86_64-master
> This command does:
> * pull an image from the Docker hub (only the first time that the command is run, note that this a 2 GB download !) and start a container
> * pull the latest changes from the GitHub cpython repository and cross-compile python
> * start an Android emulator and install python on it
> * run the buildbottest target of cpython Makefile
> The image is built from a Dockerfile .
> This same image can also be used with the 'bash' command line argument to enter bash in the container and run python interactively on the emulator . If the 'docker run' command also sets a bind mount to a local cpython repository, then it is possible to develop/debug/fix python on the emulator running in this container using one's own clone of cpython.
>  documentation at https://xdegaye.gitlab.io/abifa/docker.html
>  Dockerfile at https://gitlab.com/xdegaye/abifa/blob/master/docker/Dockerfile.r14b-24-x86_64-master
> Python-Dev mailing list
> Python-Dev at python.org
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/vstinner%40redhat.com
Night gathers, and now my watch begins. It shall not end until my death.
More information about the Python-Dev