ci: Add latest Android API level 28

Desktop / GNOME / GLib - Xavier Claessens [collabora.com] - 27 June 2018 13:23 EDT

- Split the download part into a separate script to so docker keeps that step in cache and avoid redownloading it.

- With API level >= 28 libiconv is not needed anymore because it's part of Android's libc.

- Generate standalone toolchains to reduce the docker image size. It's also easier because it doesn't need to pass sysroot args.

- Use clang compiler because gcc is deprecated in this Android NDK and will be removed in the next release.

cf9613056 ci: Add latest Android API level 28
.gitlab-ci.yml | 9 +++-
.gitlab-ci/Dockerfile | 11 +++-
.gitlab-ci/android-download-ndk.sh | 31 +++++++++++
.gitlab-ci/android-setup-env.sh | 100 ++++++++++++++++++++++++++++++++++
.gitlab-ci/run-docker.sh | 2 +-
.gitlab-ci/setup-android-ndk.sh | 108 -------------------------------------
6 files changed, 149 insertions(+), 112 deletions(-)

Upstream: git.gnome.org


  • Share