Test Numpy on Python 2 / 3 on all architectures#1390
Conversation
|
Nice, thanks for the pull request. |
|
What are the expensive parts of the docker build? I would be concerned it is difficult to get 'conditional builds' done correctly (without going all-in with a fancy build system like bazel). I wonder if there is any low-hanging fruit like rebuilding the docker images with up to date system packages and android SDK / NDK. That looks like it's taking a real long time, versus the actual python-for-android apk build. |
|
Yes the So yes SDK/NDK takes ages, but it's not recommended to cache it in Travis. Yes one solution could be to use a Docker image that has SDK/NDK and is optimized, but I also like that we have the control over our Docker image. Yes the conditional build is not an easy one, but I still imagine it's feasible. |
|
Thank you again for your PR! I'm sorry we didn't make it to the tree. Conditional builds are in place via:
It's still far from being perfect, so feel free to open a dedicated PR/issue if you want to further discuss the CI improvements. For instance yes pre-built docker image may help. Also the recent drop of CrystaX support in the CI speed up the Docker build. |
I'm working on getting numpy built for Python 3.6 on
x86_64andarm64-v8aABIs, I just wanted to add and or check if this passes on CI in the meantime.The test matrix could probably be refactored to be a bit cleaner, I think it would be great if every build command were tested against every ABI.