diff options
Diffstat (limited to 'ci/build.sh')
| -rwxr-xr-x | ci/build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ci/build.sh b/ci/build.sh new file mode 100755 index 0000000..5afbfd4 --- /dev/null +++ b/ci/build.sh @@ -0,0 +1,12 @@ +#!/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" native +make -C "$root" app + +echo "ci: APK at app/build/outputs/apk/release/" +ls -l "$root"/app/build/outputs/apk/release/*.apk 2>/dev/null || true |