Skip to content

Commit fd435e3

Browse files
committed
Update SDK
1 parent c314cea commit fd435e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/doc-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
job-name: Build doc
2828
runner: linux.2xlarge
29-
docker-image: executorch-ubuntu-22.04-clang12
29+
docker-image: executorch-ubuntu-22.04-clang12-android
3030
submodules: 'true'
3131
repository: pytorch/executorch
3232
upload-artifact: docs
@@ -70,7 +70,7 @@ jobs:
7070
7171
# Build javadoc:
7272
cd extension/android
73-
./gradlew :executorch_android:javaDocReleaseGeneration
73+
ANDROID_HOME="${ANDROID_SDK:-/opt/android/sdk}" ./gradlew :executorch_android:javaDocReleaseGeneration
7474
cp -rf executorch_android/build/intermediates/java_doc_dir/release/javaDocReleaseGeneration "${RUNNER_DOCS_DIR}/javadoc"
7575
cd ../..
7676

build/build_android_library.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ build_aar() {
125125
if [ "$EXECUTORCH_CMAKE_BUILD_TYPE" == "Release" ]; then
126126
find . -type f -name "*.so" -exec "$ANDROID_NDK"/toolchains/llvm/prebuilt/*/bin/llvm-strip {} \;
127127
fi
128-
./gradlew build
128+
ANDROID_HOME="${ANDROID_SDK:-/opt/android/sdk}" ./gradlew build
129129
cp executorch_android/build/outputs/aar/executorch_android-debug.aar executorch.aar
130130
popd
131131
}

0 commit comments

Comments
 (0)