Skip to content
Merged
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
10 changes: 10 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"
- "vulkan+xnnpack"
schedule:
- cron: 0 10 * * *

Expand Down Expand Up @@ -86,6 +91,11 @@ jobs:
sed -i "s/\(coordinates(\"org.pytorch\", \"executorch-android\", \"\)\([0-9]\+.[0-9]\+.[0-9]\+\)\(\")\)/\1$VERSION\3/" extension/android/executorch_android/build.gradle
fi

FLAVOR="${{ inputs.flavor }}"
if [[ "$FLAVOR" == "vulkan+xnnpack" ]]; then
export EXECUTORCH_BUILD_VULKAN=ON
fi

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