Author SHA1 Message Date
Codex 4a5a01dc97 fix(ci): use Gitea artifact protocol
Pixel 10 APK / build (push) Successful in 36m15s
2026-08-10 08:34:02 +02:00
Codex 01dcb4705d fix(android): let Flutter own Pixel 10 ABI split
Pixel 10 APK / build (push) Failing after 33m19s
2026-08-10 07:59:11 +02:00
Codex 6508dfa8a7 fix(android): emit ARM64-only Pixel 10 APK
Pixel 10 APK / build (push) Failing after 10m35s
2026-08-10 07:47:26 +02:00
Codex ac4a267d30 fix(ci): size Android heap from measured usage
Pixel 10 APK / build (push) Failing after 32m39s
2026-08-10 07:12:29 +02:00
4 changed files with 21 additions and 14 deletions
+11 -6
View File
@@ -168,13 +168,15 @@ jobs:
fi
- name: Build and verify Pixel 10 APK
env:
CARGO_BUILD_JOBS: "1"
CARGO_BUILD_JOBS: "2"
CARGO_INCREMENTAL: "0"
# Keep the colocated Gitea instance responsive on a small host.
JAVA_TOOL_OPTIONS: -XX:ActiveProcessorCount=1
# The previous measured run kept about 16 GiB RAM free. GeckoView's
# Jetifier transform needs more than a 1 GiB heap, while two workers
# still leave ample headroom for the colocated Gitea instance.
JAVA_TOOL_OPTIONS: -XX:ActiveProcessorCount=2
GRADLE_OPTS: >-
-Dorg.gradle.jvmargs=-Xmx1G
-Dorg.gradle.workers.max=1
-Dorg.gradle.jvmargs=-Xmx4G
-Dorg.gradle.workers.max=2
-Dorg.gradle.parallel=false
-Dorg.gradle.daemon=false
-Dkotlin.compiler.execution.strategy=in-process
@@ -220,10 +222,13 @@ jobs:
set -e
exit "$build_status"
- uses: actions/upload-artifact@v4
# Gitea's artifact service implements the v3 protocol. The v4 action
# rejects non-GitHub servers with GHESNotSupportedError before upload.
- uses: actions/upload-artifact@v3
with:
name: mrbweblibre-pixel10
path: apps/weblibre/build/app/outputs/flutter-apk/app-pixel10-release.apk
if-no-files-found: error
- name: Remove release key
if: always()
+2 -1
View File
@@ -32,7 +32,8 @@ the generated assets and native runtime, then run:
melos run build-browser-pixel10 --no-select
```
The command produces:
The command asks Flutter for a split ARM64 artifact, verifies that no other
ABI is packaged, and publishes it under the stable path:
```text
apps/weblibre/build/app/outputs/flutter-apk/app-pixel10-release.apk
+4 -6
View File
@@ -74,17 +74,15 @@ android {
manifestPlaceholders = [appName: "WebLibre Alpha (Legacy)", enableImpeller: "false"]
}
// Pixel 10 devices are 64-bit only and ship a 120 Hz display. Keep a
// separate, side-by-side installable identity for the optimized fork,
// retain Impeller, and prevent transitive dependencies from packaging
// unused 32-bit native libraries.
// separate, side-by-side installable identity for the optimized fork
// and retain Impeller. The Pixel 10 build script selects android-arm64
// with Flutter's ABI split; Gradle forbids combining that split with a
// second ndk.abiFilters declaration here.
pixel10 {
dimension "track"
applicationId "cc.mrblake.mrbweblibre"
versionNameSuffix "-pixel10"
manifestPlaceholders = [appName: "MrbWebLibre", enableImpeller: "true"]
ndk {
abiFilters "arm64-v8a"
}
}
}
+4 -1
View File
@@ -111,5 +111,8 @@ melos:
run: |
set -e
cd apps/weblibre
flutter build apk --release --flavor pixel10 --target-platform android-arm64 --no-tree-shake-icons
flutter build apk --release --flavor pixel10 --target-platform android-arm64 --split-per-abi --no-tree-shake-icons
arm64_apk="$(find build/app/outputs/flutter-apk -maxdepth 1 -type f -name '*pixel10*' -name '*arm64-v8a*' -name '*release.apk' -print -quit)"
test -n "$arm64_apk"
mv "$arm64_apk" build/app/outputs/flutter-apk/app-pixel10-release.apk
../../scripts/verify-pixel10-apk.sh build/app/outputs/flutter-apk/app-pixel10-release.apk