Skip to content

Commit 7ab93a3

Browse files
committed
Cleanup unused folders in Android test process to save space and avoid emulator errors
1 parent dd1a8a4 commit 7ab93a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
export ${{ matrix.make }}
9595
$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/${{ matrix.arch }}-linux-android26-clang sqlite-amalgamation-*/shell.c sqlite-amalgamation-*/sqlite3.c -o sqlite3 -ldl
9696
# remove unused folders to save up space
97-
rm -rf sqlite-amalgamation-*.zip sqlite-amalgamation-* openssl
97+
rm -rf sqlite-amalgamation-*.zip sqlite-amalgamation-*
9898
echo "::endgroup::"
9999
100100
echo "::group::prepare the test script"
@@ -104,6 +104,8 @@ jobs:
104104
cd /data/local/tmp
105105
$(make test PLATFORM=$PLATFORM ARCH=$ARCH -n)
106106
EOF
107+
# remove big unused folders to avoid emulator errors
108+
rm -rf build modules
107109
echo "::endgroup::"
108110
109111
- name: android test sqlite-ai

0 commit comments

Comments
 (0)