aboutsummaryrefslogtreecommitdiff
path: root/ci/build.sh
blob: 5afbfd42de15e88ff10b5fd8314acf769cceeef4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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