Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
leanmendoza committed Jan 17, 2024
1 parent 937ae68 commit 673f5cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
runs-on: self-hosted-ubuntu
container:
image: docker://kuruk/dcl-godot-android-builder:latest

steps:
- uses: actions/checkout@v4
- name: Setup Rust
Expand All @@ -21,12 +20,12 @@ jobs:
export PATH="/root/.cargo/bin:${PATH}"
rustup default stable
rustup target add aarch64-linux-android
rustup target add x86_64-linux-android
- name: Build
continue-on-error: true
run: |
bash build-android-apk.sh
- uses: actions/upload-artifact@v3
if: always()
if: success() || failure()
with:
name: Android APK
path: |
Expand Down
7 changes: 3 additions & 4 deletions build-android-apk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ then
git clone https://github.com/decentraland/godot-explorer-android-template ${EXPLORER_PATH}/godot/android
fi

echo "Install x86_64-android target toolchain"
rustup target add x86_64-linux-android

echo "Build for Linux x86_64"
cd ${EXPLORER_PATH}/rust/xtask
cargo run -- install
Expand Down Expand Up @@ -49,4 +46,6 @@ echo "Export Godot APK"
cd ${EXPLORER_PATH}/godot/

${EXPLORER_PATH}/.bin/godot/godot4_bin \
-e --headless --export-debug Android ${EXPLORER_PATH}/android.apk
-e --headless --export-debug Android ${EXPLORER_PATH}/android.apk

echo "Finished"

0 comments on commit 673f5cb

Please sign in to comment.