Files
NESLite/docs/reports/m0-baseline.md
T
2026-09-12 11:30:54 +08:00

37 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# M0 基线报告
- 日期:2026-09-12
- 基线源码提交:`8fde6e1c8854930298135ab1ba3199ecc54e89d7`
- 验收目标:G0 构建基线
- 验收结论:通过
## 结果
| 编号 | 结果 | 证据 |
| --- | --- | --- |
| M0-02a | 通过 | JDK 17、SDK 36.1、NDK r28c、CMake 3.22.1 和 Gradle 8.13 均已实际调用;Java/Kotlin target 均锁定为 17。 |
| M0-01a | 通过 | `app-debug.apk` 已生成;内含唯一原生库 `lib/arm64-v8a/libneslite_jni.so`。 |
| M0-01b | 通过 | `docs/identity.md` 与 `app/build.gradle.kts`;APK 包名、版本和 SDK 范围已核对。 |
| M0-03a | 通过 | 三个固定提交均由 `tools/fetch-third-party.ps1` 检出。 |
| M0-03b | 通过 | `LICENSE`、`THIRD_PARTY_NOTICES.md` 与 `docs/dependencies.md`。 |
| M0-02b | 通过 | `docs/build.md`;已由外部构建生成 APK。 |
| M0-04a | 通过(资源待后续补齐) | `docs/requirements.md` 与资源缺口登记。 |
| M0-04b | 通过 | `tools/check.ps1` 已修正为直接调用 CTest;原生 smoke 通过,构建和模块测试入口有界。 |
| G0 | 通过 | 从基线提交建立干净克隆,执行 `pwsh -NoProfile -File tools/check.ps1 -Scope Stage`;APK 构建、原生 smoke 和 Kotlin 单测全部通过,构建后 `git status --short` 为空。 |
## 后续阶段资源缺口
1. G2 前必须补齐 `docs/requirements.md` 所列三份有权使用的 ROM 样本和实际属性。
2. M1 前需取得目标手机和 X5 Lite 的真实诊断数据;不能以型号推测替代。
## 已执行的本机检查
| 检查 | 参数 | 结果 |
| --- | --- | --- |
| 原生主机 smoke | Android CMake 3.22.1;Visual Studio 2022;`ctest` | 1/1 通过。 |
| JNI 交叉编译 | NDK 28.2.13676358;API 28;`arm64-v8a` | 生成 `libneslite_jni.so`;ELF header 为 `ELF64` / `AArch64`。 |
| 上游来源 | `tools/fetch-third-party.ps1` | FCEUmm、libretro header、Oboe 均在 manifest 指定提交。 |
| 静态材料 | XML、JSON、Wrapper entry point、空白检查 | 通过。 |
| 干净检出 Stage | 基线提交;JDK 17 + Gradle 8.13;`-Scope Stage` | APK 构建 41 项全部执行;原生 smoke 1/1、Kotlin 单测 1/1 通过。Codex 受限执行器仅通过进程环境令 JDK 内部管道回退到 TCP,未改动源码或工程配置。 |
| 干净检出 APK | `aapt2`、`jar`、SHA-256 | `app-debug.apk` 为 7,313,565 bytes,SHA-256 为 `6BE1F304344C2CAD2CEC96BBC1299704D81889DF07CC718CE796BDEA5F653876`;包名 `org.neslite.app.debug`,版本 `0.0.1-dev-debug`,min/target SDK 28/36,仅含 `lib/arm64-v8a/libneslite_jni.so`。 |