Skip to content

Add Android cross build

Xavier Claessens requested to merge xclaesse/gst-ci:android into master

I made those scripts to install Android NDK for GLib CI.

Looks like Android NDK doesn't work on Fedora 29 because clang links on libtinfo.so.5 and fedora only have libtinfo.so.6. Ubuntu has the correct package, and I think it's useless to cross build on more than one distro any way.

I'm not sure how it's supposed to be done in the ci_template.yml, so that's likely wrong in this current MR.

I ran it locally and it has build errors in gst-plugins-base/tests/examples/gl.

Note that this is only the first step, ideally we should also somehow build an apk and upload it in artifacts, to be able to test on a phone or android-studio emulator.

Merge request reports