blob: 24cd8fc8f87eafec040ee9cbb23a6c5e1c5c2a34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
# Full build: native executables (rsync + rsh via the NDK), then the APK.
# Requires the pinned toolchain (see versions): Android SDK + NDK, a JDK, Go.
set -eu
root=$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)
make -C "$root" app
if [ -f "$root/keystore.properties" ]; then
apk="$root/app/build/outputs/apk/release/app-release.apk"
else
apk="$root/app/build/outputs/apk/release/app-release-unsigned.apk"
fi
echo "ci: APK at $apk"
ls -l "$apk"
"$root/ci/verify-apk.sh" "$apk"
|