build android script limit resources
This commit is contained in:
@@ -41,7 +41,9 @@ trap 'rm -f "$BUILD_MARKER"' EXIT
|
|||||||
pnpm intl:compile
|
pnpm intl:compile
|
||||||
|
|
||||||
cd "$ANDROID_DIR"
|
cd "$ANDROID_DIR"
|
||||||
./gradlew assembleRelease
|
# Build only arm64: Apple Silicon Macs run arm64 emulator images and all modern
|
||||||
|
# devices are arm64, so the other three ABIs just quadruple the NDK compile.
|
||||||
|
./gradlew assembleRelease --max-workers=2 --no-daemon -PreactNativeArchitectures=arm64-v8a
|
||||||
|
|
||||||
# Grab the freshly built APK: not an already-renamed bsky-* file, and newer than
|
# Grab the freshly built APK: not an already-renamed bsky-* file, and newer than
|
||||||
# the marker so it is guaranteed to be this run's output. There are no ABI splits
|
# the marker so it is guaranteed to be this run's output. There are no ABI splits
|
||||||
|
|||||||
Reference in New Issue
Block a user