Docker image and gitlab pipelines configuration for exporting your Godot project to Android.
- Supports debug and release exports.
- Supports APK and AAB exports.
...here https://gitlab.com/myoodster/godot-ci-android-export-sample-project
Docker image installs Godot and all necessary dependencies for Android debug export (templates, SDKs, debug keystore etc.). Then it sets up Godot editor settings for android debug export. Release export is also supported, but you need to generate release keystore.
Copy .gitlab-ci.yml to your project repository.
Commit your project's export_presets.cfg to the repository. Presets should be configured with exports that match the names used in .gitlab-ci.yml:
- "Android" (for debug export)
- "Android Release Armeabi-v7a"
- "Android Release Arm64-v8a"
- "Android Release x86"
- "Android Release x86-64"
You can follow offical tutorial and skip the initial setup.
Make sure to read .gitlab-ci.yml. It has comments how to setup release export properly and unit tests.
It is highly recommended to use explicit godot versions like godot-3.1.2
instead of latest
.
Otherwise your builds may break due to incompatibilities between Godot versions when tag latest
is updated to newer Godot version.
Naturally you can customize this configuration, for exmaple by skipping some target HW. Simply comment or remove unnecessary things. Adding other targets (for example Windows) should be easily found on the web - google it.