Skip to content

Commit

Permalink
Export android x86_64 target (#381)
Browse files Browse the repository at this point in the history
* Export android x86_64 target

* Fix path for debug builds
  • Loading branch information
chippmann authored Nov 28, 2022
1 parent 906a5e6 commit b57ab94
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/actions/create-android-export-template/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ runs:
uses: actions/download-artifact@v3
with:
name: android-export-${{ inputs.target }}-binary-arm64v8
- name: Download android ${{ inputs.target }} export x86_64 binary
uses: actions/download-artifact@v3
with:
name: android-export-${{ inputs.target }}-binary-x86_64
- name: Build android ${{ inputs.target }} export template
shell: bash
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/check-pr-engine-export-template-debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
build-export-debug:
strategy:
matrix:
name: [ Linux, OSX-x64, OSX-arm64, Windows, Android-armv7, Android-armv8 ]
name: [ Linux, OSX-x64, OSX-arm64, Windows, Android-armv7, Android-armv8, Android-x86_64 ]
include:
# always use the oldest still supported LTS version of github actions. See: https://github.com/utopia-rise/godot-kotlin-jvm/issues/224
- name: Linux
Expand Down Expand Up @@ -47,6 +47,11 @@ jobs:
platform: android
arch: arm64v8
output_folder: platform/android/java/lib/libs/dev/arm64-v8a/
- name: Android-x86_64
os: ubuntu-latest
platform: android
arch: x86_64
output_folder: platform/android/java/lib/libs/dev/x86_64/
runs-on: ${{ matrix.os }}
steps:
- name: Clone Godot Engine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-export-release:
strategy:
matrix:
name: [ Linux, OSX-x64, OSX-arm64, Windows, Android-armv7, Android-armv8 ]
name: [ Linux, OSX-x64, OSX-arm64, Windows, Android-armv7, Android-armv8, Android-x86_64 ]
include:
# always use the oldest still supported LTS version of github actions. See: https://github.com/utopia-rise/godot-kotlin-jvm/issues/224
- name: Linux
Expand Down Expand Up @@ -46,6 +46,11 @@ jobs:
platform: android
arch: arm64v8
output_folder: platform/android/java/lib/libs/release/arm64-v8a/
- name: Android-x86_64
os: ubuntu-latest
platform: android
arch: x86_64
output_folder: platform/android/java/lib/libs/release/x86_64/
runs-on: ${{ matrix.os }}
steps:
- name: Clone Godot Engine
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/deploy-export-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
deploy-export-template:
strategy:
matrix:
name: [ Linux-release, OSX-x64-release, OSX-arm64-release, Windows-release, Android-armv7-release, Android-armv8-release, Linux-debug, OSX-x64-debug, OSX-arm64-debug, Windows-debug, Android-armv7-debug, Android-armv8-debug ]
name: [ Linux-release, OSX-x64-release, OSX-arm64-release, Windows-release, Android-armv7-release, Android-armv8-release, Android-x86_64-release, Linux-debug, OSX-x64-debug, OSX-arm64-debug, Windows-debug, Android-armv7-debug, Android-armv8-debug, Android-x86_64-debug ]
include:
- name: Linux-release
# always use the oldest still supported LTS version of github actions. See: https://github.com/utopia-rise/godot-kotlin-jvm/issues/224
Expand Down Expand Up @@ -60,6 +60,14 @@ jobs:
arch: arm64v8
output_folder: platform/android/java/lib/libs/release/arm64-v8a/
target: release
- name: Android-x86_64-release
os: ubuntu-latest
platform: android
binary: android_release.apk
cat_command: cat
arch: x86_64
output_folder: platform/android/java/lib/libs/release/x86_64/
target: release
- name: Linux-debug
# always use the oldest still supported LTS version of github actions. See: https://github.com/utopia-rise/godot-kotlin-jvm/issues/224
os: ubuntu-20.04
Expand Down Expand Up @@ -105,6 +113,14 @@ jobs:
arch: arm64v8
output_folder: platform/android/java/lib/libs/debug/arm64-v8a/
target: release_debug
- name: Android-x86_64-debug
os: ubuntu-latest
platform: android
binary: android_debug.apk
cat_command: cat
arch: x86_64
output_folder: platform/android/java/lib/libs/debug/x86_64/
target: release_debug
runs-on: ${{ matrix.os }}
steps:
# has to be the first step as the download url is only valid for 1 minute! See: https://stackoverflow.com/a/65049722
Expand Down

0 comments on commit b57ab94

Please sign in to comment.