refactor(build): 统一本地与 CI 构建入口及平台发布工具 (#9)
Gitea CI / Check code and tests (push) Successful in 7m38s
Gitea CI / Build Android APK (push) Successful in 6m20s
Gitea CI / Audit and package Windows x64 (push) Canceled after 0s
Gitea CI / Assemble and validate CI artifacts (push) Canceled after 0s
Gitea CI / Gitea CI passed (push) Canceled after 0s
Gitea CI / Build Windows x64 app (push) Canceled after 14m42s
Gitea CI / Check code and tests (push) Successful in 7m38s
Gitea CI / Build Android APK (push) Successful in 6m20s
Gitea CI / Audit and package Windows x64 (push) Canceled after 0s
Gitea CI / Assemble and validate CI artifacts (push) Canceled after 0s
Gitea CI / Gitea CI passed (push) Canceled after 0s
Gitea CI / Build Windows x64 app (push) Canceled after 14m42s
This commit was merged in pull request #9.
This commit is contained in:
1 parent
a13a54d5ec
commit
4a759d81a6
61 files changed
+1913
-388
No files matched your search
@@ -4,7 +4,7 @@ The workflow runs checks first, then Android and Windows compilation concurrentl
|
||||
when compilation is required. Ordinary code PRs stop after compilation and native
|
||||
SDK validation; they skip artifact transfers, Windows packaging and assembly.
|
||||
Documentation-only PRs run checks without compiling either platform. Changes to
|
||||
CI, tooling, native platform configuration, dependencies and app update code
|
||||
CI, tooling, native platform configuration, dependencies, `.fvmrc` and app update code
|
||||
force the full pipeline. Main pushes and manual CI runs always use the full
|
||||
pipeline, preserving the exact-commit artifacts needed by Release.
|
||||
|
||||
@@ -32,8 +32,20 @@ With an ephemeral runner, these user directories must be persisted separately.
|
||||
|
||||
The local `prepare-flutter` action owns cache setup, Flutter version validation,
|
||||
optional Java configuration and locked dependency resolution for the quality,
|
||||
Android and Windows compilation jobs. `FLUTTER_VERSION` is declared once in the
|
||||
CI workflow. The separate `prepare-windows-packaging` action owns the user .NET
|
||||
Android and Windows compilation jobs. `.fvmrc` is the shared local/CI Flutter
|
||||
version source; the action verifies the preinstalled runner SDK against it, without
|
||||
installing FVM or resolving a second SDK. Quality checks also run the Flutter
|
||||
Python version guard and local launcher regression tests. The guard reads `.fvmrc`
|
||||
before probing the runner SDK and requires no PowerShell-specific implementation.
|
||||
Local and CI checks share
|
||||
`tool/check.py --suite analyze|flutter|tools`, including fatal-info analysis,
|
||||
app/package tests, repository hygiene and portable tooling regressions. Each suite
|
||||
remains a separate CI step. `tool/build.py` owns production/release defaults and
|
||||
Android architectures; SDK selection and environment loading use the shared Dart
|
||||
launcher through its Python adapter. The runner continues using its verified
|
||||
preinstalled SDK rather than requiring a project FVM link. Platform builds clear their
|
||||
local native source path environment overrides and never read `.env.local`.
|
||||
The separate `prepare-windows-packaging` action owns the user .NET
|
||||
installation and packaging tool setup, so packaging retries do not resolve
|
||||
Flutter dependencies. Individual setup steps remain visible within each action.
|
||||
|
||||
|
||||
Reference in new issue
Block a user