重构与优化构建流程,修复跨平台(non-Debian/Ubuntu Linux)构建 - #159
Conversation
b9361df to
c9593e0
Compare
545b73e to
1feddf8
Compare
1feddf8 to
8d005ce
Compare
1b8e475 to
80e4667
Compare
615fe6d to
8d646c2
Compare
|
rebase 已完工,CI 和本地测试均已通过。请李师傅审查。 |
|
回退重命名的版本在 VillagerTom#1 ,diff 更干净。李师傅如果不喜欢重命名我可以 cherry-pick 过来。 |
c9bd24e to
18e4ab7
Compare
|
抱歉,“添加 workflow dispatch”提交已清除。 |
|
@VillagerTom 本地调试验证了么 |
验证过了 |
|
哦,如果说是这次同步main以后,还需要再次测试吗?我看到main构建流程没有更改 |
@appshubcc 本地调试通过。除原有的 https://t.me/appshub_chat/174594 (在main也存在) 没有新增bug。 |
18e4ab7 to
e0f5990
Compare
e60d271 to
1dfc64a
Compare
|
已丢弃 README*.md 修改,备份位于 VillagerTom@e60d271 |
|
哦不对,main 又更新了 |
|
@VillagerTom 这PR合了肯定炸,建议不要修改除了 |
|
@VillagerTom Windows的调试我看也改了下,现有可以稳定调试的情况下非必要一般还是不建议动 |
是指 |
|
等一下,构建环境有一些依赖变化我忘了更新了 |
b67f841 to
602acb3
Compare
更新以下 checkDeps:
|
602acb3 to
be89ee9
Compare
|
为 Windows debug 流程添加了纯 powershell 命令,避免 jq 依赖 |
|
已 rebase 至 v1.18.9, CI 构建通过 |
- [target -> platform] 与 flutter_distributor 保持一致 - [Target -> TargetPlatform] 语义一致 - [Mode -> CoreMode] (顶级枚举) 表意更清晰 - [TargetPlatform.same -> TargetPlatform.same, TargetPlatform.buildable] 职责明确
删除 setup.dart Linux 分支的 targets 硬编码,改为从 CI 输入
- check linux and macos dependencies that were installed in the previous removed steps - check cargo and inno-setup for windows - specify and check ndk 27.0.12077973 for android build core, if env ANDROID_NDK is not set - prevent building app for unbuildable target platforms - prevent cross-builds for windows and linux target
…wait - Replace --arch auto flag with implicit fallback via ArchExt.same - Remove systemArch/_mapHostArch (superseded by ArchExt.same) - Keep _expectedOutputs etc. for --ensure support - Add missing awaits for buildHelper and _buildDistributor calls - Consolidate .vscode/ tasks and launch configs into single auto-detecting entries
- valueHelp 改为 allowed,拦截无效命令行参数 - 添加 abbr,支持短格式参数 - 修复错误的判断条件和说明
be89ee9 to
680827e
Compare
|
已 rebase 至 v1.18.10-pre3, CI 通过,Windows 调试与 main 表现相同。 |






Feat:
build.yaml)setup.dart添加检查构建环境并抛出警告添加 CI 手动触发,手动触发时(已拆分至~~feat(ci): workflow dispatch #206~~Workflow dispatch fix #221)IS_STABLE为 false (建议安装 GitHub Actions Manager 或 GitHub Actions for VS Code)--targets命令行参数,可指定打包格式添加自动检测CPU架构(重构上游实现以与后续提交兼容),为宿主机平台构建时可省略--arch参数--build-only,用于跳过 flutter_distributor 打包Windows 添加(上游已有等效实现)--out=core,helper, 方便本地调试Fix:
兼容 Clang>=21 and libayatana-appindicator>=0.5.94 构建环境(已拆分至~~fix(build): Fix Linux build issues and optimize CI #215~~fix(build): 修复某些Linux发行版环境较新时构建失败 #223)添加 Fluter 编译参数,削减 dmg 安装包体积 (胖二进制)(已拆分至feat: build macOS dmgs with correct archs #226)(使用 OpenCode 辅助开发)