Repository navigation
Conversation
|
Xcode version shouldn't matter |
|
Only travis job failing is new OSX Android matrix which is expected until geojson stuff is fixed. |
|
The build failure here is not due to the geojsonvt stuff: |
|
Blocked now by #2351. |
7aebb1a to
01e6e39
Compare
|
Unblocked. |
|
Just to be clear here, in order for Android GL to be a "true" and "useful" test on Travis it needs to run the actual build script. I'm admittedly a bit unclear about what it currently runs and how it's configured, but from my perspective an Android build on Travis needs to run the following:
Again, it's not totally clear to me how or what the existing Android build jobs on Travis are configured to do (and I would ❤️ to know more ). It is clear to me that they currently are not doing what I described above ^^ as the original geojsonvt issue from #2288 would not have returned the false positives that it did. |
|
This PR attempts to run the build process. The problem is that currently we aren't building Android on OS X at all, just Linux, and that's what missed the issue. |
|
@incanus Right. Can you help me understand what running on OS X will do to solve this that Linux currently is failing at? TBH, I'd prefer that Android be built on OS X as that mirrors what the majority of developers use (at least internally). Also, can you help me understand exactly what the "build process" means to you / what is being setup? What I'm worried about is that Travis is being setup to run a "build process" that isn't accurate. |
|
OS X vs. Linux: When #2288 landed, it wasn't manually tested for running Build process: Once this is set, it's going to run like the Linux-based Android or even the OS X client build tests run: using the stuff in |
|
Thanks for the explaination @incanus! Stupid Question: Can we remove the Android on Linux builds and just build Android on OS X? |
We could, but one thing we do do on the Linux side is test a bunch of ABIs: Lines 33 to 60 in d86d11f |
|
True, but can those tests also be done on OS X? I'm just trying to minimize the number of moving pieces that are floating around. |
|
@bleege We should make sure we continue to test:
Maybe this means consolidating the matrix into |
|
@mikemorris Can you help me understand what running the Android builds on Linux achieves? Java / Android compilation is platform independent. As long as the C++ compiler / NDK work the same on both OS X and Linux I don't understand why part of a build is done on OS X and another part is done on Linux. |
It's the flip side of what we just saw with OS X + Android: inadvertently breaking another team's toolchain with the assumption that tests passing = everything's ok. |
|
What @incanus said. If we're really squeezed for build capacity or Android CI is the critical path (I don't think either is true at the moment) we might consider dropping just the Linux @incanus What's the current status here? Looks like CI is still failing on |
|
Ah... so this is more about extending test coverage to other binding SDK products in the specific binding SDK product's natural environment. ie, npm's home is Linux but when committing it needs to know that it's not breaking iOS and / or Android in their natural environments. Gotcha. Thanks for the insight and humoring me @incanus @jfirebaugh @mikemorris . 👍 |
Yes, failing on that command after first cut. I will get back to this after #2295, but I think I need to more comprehensively go through Travis' Android setup guide first. |
01e6e39 to
44ee26b
Compare
|
It's not clear from the Android environment docs what the OS is, but it's probably Linux. Trying this on OS X fails with the first command related to the Android SDK. I attempted to use Travis' help chat, but no one was currently online, so I left a message per their system. Submitting it then had a web application failure and ate my message, so I'll be trying again later. |
|
Heard back:
Will hold on this for now, but this is an approach we can try — downloading the Android SDK stuff and updating the reqs ourselves. Especially since we don't need to test in emulator right now, just build. |
|
@incanus Ah like we used to do when we used Linux environment way back. Checkout some really old commits to see if you can revive the install scripts we had for installing Android on Travis. |
|
Nice, thanks @ljbade. |
|
We are switching to bitrise, however they only provide Linux build support. We will have to keep monitoring OSX build issues manually. |

The
geojsonvt-related changes in #2288 that landed yesterday turned up some problems in the Android build toolchain on an OS X host. Travis currently only tests Android on Linux hosts, so this adds yet another matrix item to do a simple Android armv7 build on OS X (Xcode 6.4 currently; let's not get too crazy)./cc @bleege @mikemorris @jfirebaugh @lucaswoj @ljbade