test #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android Build | |
on: | |
push: | |
branches: | |
pull_request: | |
release: | |
types: | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: docker://kuruk/dcl-godot-android-builder:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup upterm session | |
uses: lhotari/action-upterm@v1 | |
with: | |
## limits ssh access and adds the ssh public key for the user which triggered the workflow | |
limit-access-to-actor: true | |
## limits ssh access and adds the ssh public keys of the listed GitHub users | |
limit-access-to-users: kuruk-mm | |
- name: Build Decentraland Godot Lib | |
run: | | |
cd rust/decentraland-godot-lib | |
bash android-build.sh | |
- name: Install Godot | |
run: | | |
cd rust/xtask | |
cargo run -- install | |
# TODO: We should build `decentraland-godot-lib` for Linux | |
# TODO: Copy Android FFMPEG Libs | |
- name: Export Godot APK | |
run: | | |
/app/.bin/godot/godot4_bin \ | |
-e --headless --rendering-driver opengl3 --headless \ | |
--export-release Android /app/android.apk |