Slightly edit the build script - copy apk; check package files in test.sh

This commit is contained in:
Lee Miller 2024-02-16 21:28:36 +02:00
parent d08b07dd67
commit fde26f2dda
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
2 changed files with 11 additions and 4 deletions

View File

@ -1,8 +1,9 @@
#!/bin/sh
#!/bin/bash
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
cd packages/android
pushd packages/android
buildozer android debug || exit $?
cd ../..
popd
mkdir -p ../out
mv packages/android/bin/*.apk ../out
cp packages/android/bin/*.apk ../out

6
.buildbot/android/test.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
unzip -p packages/android/bin/*.apk assets/private.tar \
| tar --list -z > package.list
cat package.list
cat package.list | grep '\.sql$' || exit 1