Skip to content

Commit 387e2b2

Browse files
committed
Update build-android-ndk.yml
1 parent 2227bef commit 387e2b2

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/build-android-ndk.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,19 @@ jobs:
2424
java-version: '17'
2525

2626
- name: Build arm64 library
27-
run: ./gradlew externalNativeBuildRelease -Pandroid.abis=arm64-v8a
27+
run: ./gradlew externalNativeBuildRelease -Pandroid.abis=arm64-v8a -PcmakeBuildType=MinSizeRel
28+
29+
- name: List build directories for debugging
30+
run: |
31+
echo "Listing build directories:"
32+
find app/build -name "*.so" -type f | head -20
33+
echo "Full cxx directory structure:"
34+
find app/build/intermediates/cxx -type d 2>/dev/null || echo "cxx directory not found"
35+
echo "Release directory contents:"
36+
ls -la app/build/intermediates/cxx/Release/ 2>/dev/null || echo "Release directory not found"
2837
2938
- name: Store arm64 library
3039
uses: actions/upload-artifact@v4
3140
with:
3241
name: libXlorie-arm64
33-
path: app/build/intermediates/cmake/release/obj/arm64-v8a/libXlorie.so
34-
if-no-files-found: error
42+
path: app/build/intermediates/stripped_native_libs/release/out/lib/arm64-v8a/libXlorie.so

0 commit comments

Comments
 (0)