BUILD LOG
260521: v1.15.0
Lasted: v1.15.0
native-android Line Matured
After extensive research and iteration, the native-android build pipeline is now operational:
What's New
- GitHub Actions CI workflow (build-native-android.yml) fully automated:
- Downloads opencode from npm
- Wraps with bun-termux-loader using pre-built aarch64 artifacts
- Produces Android/bionic-wrapped binary automatically
- Git history cleaned: ~425MB of binary blobs removed
- Pre-built wrapper+shim committed at
tools/prebuilt/— no cross-compilation needed on CI - Bun v1.3.14 research completed: Native Android Bun confirmed working on Termux
- Research doc:
docs/native-android-research.md
- Research doc:
Fixes in This Release
- Wrap step corrected:
--wrapperand--shimpaths now point to pre-built aarch64 binaries - Bun marker detection: searches entire binary (marker position varies by version)
- Cache key collision fixed: uses first+last 64KB for classifer
- All CI steps validated (17/17 passing)
Build Pipeline
# Local Termux build (glibc route — stable)
cd opencode-termux
make all VER=1.15.0 PKG=both
# CI automated build (native-android route — experimental)
# Trigger: GitHub Actions workflow_dispatchNotes
- This is still the glibc-wrapper route for runtime (bun-termux-loader wrapping)
- Native Android Bun binary is downloaded for diagnostics only (entry point incompatibility)
- Future: switch to native Android Bun when
bun build --compilesupports Android target