divVerent / aaaaxy

A nonlinear 2D puzzle platformer taking place in impossible spaces.
Apache License 2.0
207 stars 9 forks source link

Cover Android build by GitHub Actions #334

Closed divVerent closed 4 months ago

divVerent commented 4 months ago

The Android build frequently and notoriously breaks with Go module updates.

https://github.com/hajimehoshi/ebiten/issues/2899

As a workaround, we need a Github Actions build to check the build on Android, so I can easily reject Dependabot updates that break the build.

divVerent commented 4 months ago

My local script to do a simple fast Android build:

(
        export ADVZIP=:
        cd AndroidStudioProjects/AAAAXY/
        export ANDROID_HOME=$HOME/Android/Sdk
        ./gradlew assembleDebug
)

So I guess, let's start from there.

divVerent commented 4 months ago

For NDK we'll need this:

https://github.com/marketplace/actions/setup-android-ndk

The SDK:

https://github.com/marketplace/actions/setup-android-sdk-tools

divVerent commented 4 months ago

For reference, the F-Droid build: https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/io.github.divverent.aaaaxy.yml