abarichello / godot-ci

Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
https://hub.docker.com/r/barichello/godot-ci
MIT License
758 stars 133 forks source link

Android CI is not implemented in older Docker images (<= 3.2.3) #36

Closed 2shady4u closed 4 years ago

2shady4u commented 4 years ago

I'm probably missing something here...?

When running the Android Debug job on Gitlab-CI I get following error: image

Is there a gitlab variable I'm missing somewhere? If yes, which one and could this then be updated in the README?

my yml:

# Android Debug Job. It will use the generated debug.keystore. 
android_debug:
  stage: export
  script:
    - mkdir -v -p build/android
    - cd godot_project
    - godot -v --export-debug "Android Debug" ../build/android/$EXPORT_NAME-debug.apk
    - test -e ../build/android/$EXPORT_NAME-debug.apk
  artifacts:
    name: $EXPORT_NAME-$CI_JOB_NAME
    paths:
      - build/android
  only:
    - master

What am I missing here?

2shady4u commented 4 years ago

Update: Seems like the 3.2.3 Docker image doesn't include android!

This is counter-intuitive as using the "lastest" Docker image is not recommended due to potential version discrepancy between project and CI.

abarichello commented 4 years ago

I forgot to rebase these changes to the 3.2.3, android support is master only for now

abarichello commented 4 years ago

Rebased, docker hub should take half an hour to build.