-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github: Split Android CI to per ABI builds
- Pulled the android continuous workflow into an action - Split the android continuous build into 3 ABIs armv7, armv8a, and x86_64 (note that x86 is not present). - Remove the upload artifacts step from previous workflow. This was meant for letting client try a tip-of-tree Android build. We can revisit this later. (Also removed mention in README.md) - Split the android continous into debug build and a release build commands, enabling deletion of intermediate output directory.
- Loading branch information
Showing
6 changed files
with
61 additions
and
41 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: 'Android Continuous' | ||
inputs: | ||
build-abi: | ||
description: 'The target platform ABI' | ||
required: true | ||
default: 'armeabi-v7a' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
- name: Run build script | ||
run: | | ||
cd build/android && printf "y" | ./build.sh continuous ${{ inputs.build-abi }} | ||
shell: bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,32 +8,35 @@ on: | |
- rc/** | ||
|
||
jobs: | ||
build-android: | ||
name: build-android | ||
build-android-armv7: | ||
name: build-android-armv7 | ||
runs-on: macos-14 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-java@v3 | ||
- name: Run Android Continuous | ||
uses: ./.github/actions/android-continuous | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
- name: Run build script | ||
run: | | ||
cd build/android && printf "y" | ./build.sh continuous | ||
- uses: actions/[email protected] | ||
with: | ||
name: filament-android | ||
path: out/filament-android-release.aar | ||
- uses: actions/[email protected] | ||
with: | ||
name: filamat-android-full | ||
path: out/filamat-android-release.aar | ||
- uses: actions/[email protected] | ||
build-abi: armeabi-v7a | ||
|
||
build-android-armv8a: | ||
name: build-android-armv8a | ||
runs-on: macos-14 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Run Android Continuous | ||
uses: ./.github/actions/android-continuous | ||
with: | ||
name: gltfio-android-release | ||
path: out/gltfio-android-release.aar | ||
- uses: actions/[email protected] | ||
build-abi: arm64-v8a | ||
|
||
build-android-x86_64: | ||
name: build-android-x86_64 | ||
runs-on: macos-14 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Run Android Continuous | ||
uses: ./.github/actions/android-continuous | ||
with: | ||
name: filament-utils-android-release | ||
path: out/filament-utils-android-release.aar | ||
build-abi: x86_64 |
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
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
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
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