Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/android-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: Upload the AAR to maven staging repository
required: false
type: boolean
flavor:
type: choice
options:
- "xnnpack"
- "qnn+xnnpack"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -69,6 +74,16 @@ jobs:

echo -n "$SECRET_EXECUTORCH_MAVEN_SIGNING_GPG_KEY_CONTENTS" | base64 -d > /tmp/secring.gpg

FLAVOR="${{ inputs.flavor }}"

if [[ "$FLAVOR" == "qnn+xnnpack" ]]; then
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-qnn-deps.sh
PYTHON_EXECUTABLE=python bash .ci/scripts/build-qnn-sdk.sh
export EXECUTORCH_BUILD_QNN=ON
export QNN_SDK_ROOT=/tmp/qnn/2.28.0.241029
export ANDROID_ABIS=arm64-v8a
fi

# Build AAR Package
mkdir aar-out
export BUILD_AAR_DIR=aar-out
Expand Down
Loading