test: run the Windows cross artifact under Wine
Cross-build marqdo/marqdo-provider-worker for x86_64-pc-windows-gnu, package the rc.6 archive with Bundle 0.3.0, and execute the PE binaries under Wine 9.0 in a container: --version, check --emit, run (value 42) and a default-Bundle json.严格解析 case all pass. Record that this is beta/rc container-level acceptance, not a native Windows kernel/runner claim; native lanes remain UNVERIFIED. No tag or release.
This commit is contained in:
1 parent
afea4f9474
commit
7d0f46aedb
2 files changed
+51
No files matched your search
@@ -430,6 +430,11 @@ release assets. An unavailable strict host is fail-closed, never a downgrade.
|
||||
(`>=3.0.0,<4.0.0` does not silently accept a beta core).
|
||||
- Only the Linux x86_64 archive is claimed. macOS/Windows are
|
||||
experimental/unclaimed; the Windows lane in CI is a compile cross-check only.
|
||||
2026-12-02 additionally ran the cross-built `marqdo.exe` under Wine 9.0
|
||||
(container-level beta/rc acceptance, not a native Windows kernel/runner):
|
||||
`--version`, `check --emit`, `run` (value 42) and a default-Bundle
|
||||
`json.严格解析` case all passed. Evidence:
|
||||
[`evidence/2026-12-02-windows-wine-runtime-smoke.md`](evidence/2026-12-02-windows-wine-runtime-smoke.md).
|
||||
- Known limitations are shipped as `KNOWN_LIMITATIONS.md` and recorded in
|
||||
[`developers/release-limits.md`](developers/release-limits.md).
|
||||
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
# Windows x86_64 交叉产物 Wine 运行冒烟(beta/rc 环境验收)
|
||||
|
||||
Date: 2026-12-02. Host: Linux x86_64(Ubuntu 26.04),容器 `marqdo-wine:test`
|
||||
(Ubuntu 24.04 + Wine 9.0)。**不是**原生 Windows 内核/runner;按维护者指示,
|
||||
beta/rc 阶段允许以虚拟机/容器等价环境验收。
|
||||
|
||||
## 1. 构建
|
||||
|
||||
```sh
|
||||
export RUSTUP_HOME=<workspace>/.build/rustup
|
||||
rustup target add x86_64-pc-windows-gnu
|
||||
cargo build --release --locked --target x86_64-pc-windows-gnu -p marqdo-cli
|
||||
cargo build --release --locked --target x86_64-pc-windows-gnu -p marqdo-provider-worker
|
||||
```
|
||||
|
||||
- 工具链:rustc 1.100.0 + mingw-w64(`x86_64-w64-mingw32-gcc`)。
|
||||
- 产物:`marqdo.exe`(PE32+ x86-64,17,320,582 B)、
|
||||
`marqdo-provider-worker.exe`(1,811,903 B)。
|
||||
- 打包:`marqdo-3.0.0-rc.6-x86_64-pc-windows-gnu.tar.gz`(含 `stdlib/`
|
||||
Bundle 0.3.0 与 `SHA256SUMS`)。
|
||||
|
||||
## 2. Wine 运行结果(真实执行)
|
||||
|
||||
```text
|
||||
$ /usr/lib/wine/wine64 marqdo.exe --version
|
||||
marqdo 3.0.0-rc.6
|
||||
|
||||
$ wine64 marqdo.exe check Z:\...\index.mq.md --emit Z:\...\analysis.json
|
||||
checked 1 module(s): ok # Analysis JSON 生成(5586 B)
|
||||
|
||||
$ MARQDO_STDLIB_DIR=Z:\...\stdlib wine64 marqdo.exe run Z:\...\index.mq.md --output json
|
||||
run status=ok, value=42
|
||||
|
||||
$ MARQDO_STDLIB_DIR=Z:\...\stdlib wine64 marqdo.exe run Z:\...\std.mq.md --output json
|
||||
run status=ok, value="json.duplicate_key" # 默认 Bundle 0.3.0 的 json.严格解析
|
||||
```
|
||||
|
||||
另:`Windows` 环境没有真实 COM/字体等完整桌面栈,Wine 首次前缀初始化打印
|
||||
`syswow64/rundll32.exe` 缺失;不影响 console CLI 的上述命令。
|
||||
|
||||
## 3. 边界 / UNVERIFIED
|
||||
|
||||
- 这是 **beta/rc 阶段的容器级 Windows 兼容运行验收**,不是原生 Windows
|
||||
内核/runner;CI 平台矩阵的 Windows native lane 仍 UNVERIFIED。
|
||||
- 未覆盖 Windows 原生 Worker ABI/插件/服务/签名安装;macOS 未构建运行。
|
||||
- 未创建 tag/Release;产物仅供候选验收,不作为正式发行资产。
|
||||
Reference in new issue
Block a user