@@ -8,6 +8,7 @@ We provide two Android CI runners to the `elixxir` and `xx_network` groups on [g
The following software is installed onto the Android CI VM for you to use as an end user.
- GoLang (version 1.17.5)
- Java OpenJDK 8
- Android SDK Tools (version 3859397)
- Android platform SDK (version 25)
...
...
@@ -22,10 +23,18 @@ The following software is installed onto the Android CI VM for you to use as an
You just need to tag the builds that need the Android tooling in your `gitlab-ci.yml` file with the `android` tag. An example is below. This should only be done for jobs where the Android SDK tools are directly required, as job capacity is very limited.
You also need to ensure that `/android-sdk/platform-tools/` is in your `$PATH` variable, as well as setting the `$ANDROID_HOME` variable to `/android-sdk`. Both of these can be done in a `before_script` if you have multiple jobs that use the `android` tag, or done in the `script` part of your job for just one.
You may optionally want to add `/usr/local/go/bin` to your `$PATH` if you plan to build Go programs for Android in your job, such as building client bindings.