feat: validate ios RN particle metal path
Some checks failed
validate-scripts / validate-scripts (push) Has been cancelled

This commit is contained in:
tei
2026-09-18 22:21:00 +09:00
parent bdd7f40f90
commit d8bb9f547b
21 changed files with 553 additions and 25 deletions

View File

@@ -4,6 +4,14 @@
模块和 product 始终为 `MapLibre`。MLRN 11.3.6 与后续 Particle Bridge 必须通过同一份自定义 MapLibre binary 消费,不能再链接第二个同功能但不同模块名的 framework。
Particle iOS 发行固定使用 Metal renderer。必须在 macOS 对目标 commit 执行:
```sh
bazel build --//:renderer=metal //platform/ios:MapLibre.dynamic
```
裸命令 `bazel build //platform/ios:MapLibre.dynamic` 会采用默认 OpenGL renderer;即使成功生成 XCFramework,也不得作为 Particle iOS 发行基线。发行前还应核验 device binary 含 `MLNMapView`、Metal/`MTLDevice` 与 `ParticleGPU` 标记,且无 OpenGL marker。
发布时:
1. 在 macOS 上从对应 Git commit 成功生成 `MapLibre.dynamic.xcframework`;
@@ -11,4 +19,4 @@
3. 用真实 URL、checksum、commit 和构建记录填充 `release-manifest.json`;
4. 将相同 URL/checksum 代入 `Package.swift.template`,再在独立 distribution repository 发布。
外部 binary distribution 版本独立于 `platform/ios/VERSION`;首个建议坐标为 `6.28.0-particle.1`。本 Step 尚未取得可发布 XCFramework zip,因此 manifest 保持 `NOT_BUILT`,不提供伪造 hash。
外部 binary distribution 版本独立于 `platform/ios/VERSION`;首个建议坐标为 `6.28.0-particle.1`。Metal XCFramework 已在本地构建和 Pleiades iPad mini 5 RN Test Host signed Release 路径验证;artifact 尚未发布远端,manifest 的 URL 仍为 `LOCAL_BUILD`,不得伪造下载地址。

View File

@@ -6,9 +6,9 @@
"artifact": {
"fileName": "MapLibre.dynamic.xcframework.zip",
"url": "LOCAL_BUILD",
"sizeBytes": 24639200,
"sha256": "64faa174c5c0dc0a2da3e289f0beaf2dedf7298665e3345f39836729b668e239"
"sizeBytes": 24943196,
"sha256": "ae88975fc20f4d9961b95079638d0e9c0d8e61d4394d5c0a8ffcc48d173a827f"
},
"sourceCommit": "136ed726cf749c24b3673c046581a38ef48be390",
"notes": "STEP-082 local Bazel XCFramework build has been validated. The artifact has not been published; no remote URL is available."
"sourceCommit": "bdd7f40f9029031816c9bf4db6e1cd6c7c69b7bd",
"notes": "Metal renderer artifact built with bazel build --//:renderer=metal //platform/ios:MapLibre.dynamic. Validated by the Pleiades iPad mini 5 RN Test Host signed Release path; user confirmed particle rendering recovered. The artifact has not been published; no remote URL is available."
}