Giter VIP home page Giter VIP logo

godot-ci-android-export's Introduction

godot-ci-android-export

What is this?

Docker image and gitlab pipelines configuration for exporting your Godot project to Android.

  • Supports debug and release exports.
  • Supports APK and AAB exports.

Sample project available...

...here https://gitlab.com/myoodster/godot-ci-android-export-sample-project

How it works?

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.

How can I use it in my project?

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.

Important:

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.

Customization

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.

godot-ci-android-export's People

Contributors

myood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

godot-ci-android-export's Issues

Trying to get debug build ci running

.gitlab-ci.yml

export_presets.cfg

I am trying to produce a debug build. Your ci template sounds very promising, but i cant get it to run. Under variables i have K8S_SECRET_RELEASE_KEYSTORE_BASE64 with the output of base64 debug.keystore -w 0. The manually started ci job fails with:
image

I dont have much experience with this whole stuff, but would like to get it working.
Is there a working example anywhere on gitlab? I cant find one. Maybe link them in README?

I need a simple use case

Sorry. I am using Docker and Godot-Cli for the first time.
Perhaps that’s why I don’t understand how to use this program. Could you write me a simple example of exporting an application in steps?

release error code 12

Hello. I use gitlab-ci for compilation.
The debug version builds without problems, but the release version gets an error.
ERROR: _fs_changed: Failed to export project with error code 12 for "Android Release Armeabi-v7a" preset.
At: editor / editor_node.cpp: 638.

Using Godot 3.2.2

изображение

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.