ci: build GLS team package on Windows
This commit is contained in:
parent
a6d83b0846
commit
ab283b5fe9
17
.github/workflows/build-windows-manual.yml
vendored
17
.github/workflows/build-windows-manual.yml
vendored
@ -10,7 +10,15 @@ on:
|
||||
artifact_name:
|
||||
description: "Uploaded artifact name"
|
||||
required: true
|
||||
default: "HoloLake-Era-Windows-x64"
|
||||
default: "HoloLake-Era-Team-Foundation-Windows-x64"
|
||||
distribution:
|
||||
description: "Product surface to package"
|
||||
required: true
|
||||
type: choice
|
||||
default: "team-foundation"
|
||||
options:
|
||||
- "team-foundation"
|
||||
- "standard"
|
||||
|
||||
env:
|
||||
NODE_OPTIONS: --max-old-space-size=4096
|
||||
@ -80,7 +88,12 @@ jobs:
|
||||
SENTRY_DSN: ""
|
||||
VITE_POSTHOG_KEY: ""
|
||||
VITE_POSTHOG_HOST: ""
|
||||
run: pnpm tauri build --target x86_64-pc-windows-msvc --bundles nsis
|
||||
run: |
|
||||
if ("${{ inputs.distribution }}" -eq "team-foundation") {
|
||||
pnpm tauri build --target x86_64-pc-windows-msvc --bundles nsis --config src-tauri/tauri.team.conf.json
|
||||
} else {
|
||||
pnpm tauri build --target x86_64-pc-windows-msvc --bundles nsis
|
||||
}
|
||||
|
||||
- name: Validate installer
|
||||
shell: pwsh
|
||||
|
||||
@ -40,7 +40,8 @@ GLS 团队基座
|
||||
- GLS 唯一内置数据:`src-tauri/resources/public-architecture/gls-system-architecture.json`
|
||||
- 团队构建收尾:`scripts/finalize-team-foundation-build.mjs`
|
||||
- Mac 打包:`scripts/build-macos-internal.sh`
|
||||
- Windows JD 节点打包:`scripts/build-windows-jd-cross.sh`
|
||||
- Windows CI 工作流:`.github/workflows/build-windows-manual.yml`
|
||||
- Windows 本地/节点备用脚本:`scripts/build-windows-jd-cross.sh`
|
||||
- 包内容硬门:`scripts/verify-internal-package-content.mjs`
|
||||
- 自动测试:`src/TeamFoundationApp.test.tsx`
|
||||
|
||||
@ -73,20 +74,22 @@ Mac 团队基座包:
|
||||
|
||||
`/Volumes/JZAO/HoloLake/artifacts/team-foundation/HoloLake-Era-0.1.7-Team-Foundation-Mac-aarch64.dmg`
|
||||
|
||||
## 6. Windows 未闭环项
|
||||
## 6. Windows CI 与未闭环项
|
||||
|
||||
Windows 包必须在 `JD-FD-PRIMARY` Linux 节点执行,不在 Mac 上伪造:
|
||||
Windows 安装包沿用仓库已有的 Windows CI,不在 Mac 上伪造。手动触发:
|
||||
|
||||
```bash
|
||||
COREPACK_HOME=<JD 节点缓存路径> \
|
||||
CARGO_TARGET_DIR=<JD 节点构建路径> \
|
||||
HOLOLAKE_SKIP_INSTALL=0 \
|
||||
npm run package:team:windows
|
||||
```text
|
||||
.github/workflows/build-windows-manual.yml
|
||||
distribution = team-foundation
|
||||
version = 0.1.7
|
||||
artifact_name = HoloLake-Era-Team-Foundation-Windows-x64
|
||||
```
|
||||
|
||||
输出目标名:`HoloLake-Era-0.1.7-Team-Foundation-Windows-x64-setup.exe`。
|
||||
|
||||
完成标准包括 PE32+ x86-64、NSIS 安装包、内容门、SHA-256、服务器归档和回传后二次校验。当前 Mac 没有 JD 节点 SSH 通道,所以 Windows 包尚未生成;不得写成双平台已经交付。
|
||||
该工作流历史上成功生成过 Windows 包;本次已增加 `distribution` 选择,默认 `team-foundation`,通过 `src-tauri/tauri.team.conf.json` 只构建 GLS 团队入口。CI 成功只能证明 NSIS 产物生成;能否安装、启动和显示正确 GLS 页面仍须 Windows 实机验收。当前团队版 Windows 包尚未生成,不得写成双平台已经交付。
|
||||
|
||||
2026-07-18 本地提交为 `a6d83b0`(后续文档修正提交以实际 HEAD 为准)。第一次推送完整执行了前端测试、Rust lint、1074 项 Rust 测试与覆盖率;Playwright 冒烟测试因本机缺少对应 headless-shell 运行器未执行成功。远端随后明确拒绝:`repo_push_grant_expired`。重新取得 repo-push 邮件授权后,应先推送当前 `main`,再触发上述 Windows CI。
|
||||
|
||||
## 7. 外接盘构建约束
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user