refactor(build): unify SDK configuration and release tooling
Pin Flutter with FVM and share local environment loading across IDE, Python, and Dart entrypoints. Keep CI on the verified preinstalled SDK and skip local overrides. Extract common build presets, process execution, and file hashing. Propagate project roots through SDK selection and release commands, and migrate macOS release, signing, and DMG orchestration to Python. Reuse local check suites in CI, support Android source overrides, and update documentation and regression tests.
This commit is contained in:
1 parent
a13a54d5ec
commit
0343e2f723
57 files changed
+1858
-375
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Gitea Windows and Android builds
|
||||
|
||||
The Windows x64 host runner needs Flutter 3.47.5, Python, Node, Visual Studio C++,
|
||||
The Windows x64 host runner needs the Flutter version pinned in `.fvmrc`, Python, Node, Visual Studio C++,
|
||||
JDK 21 and Android SDK 36. The native cutdex_windows Release and cutdex_android
|
||||
Maven packages must be published before building this app. The SDK Git dependency
|
||||
is pinned to Gitea; the runner account needs SSH access to that private repository.
|
||||
@@ -13,6 +13,11 @@ shipping a production signed Android release. The Windows ZIP includes the whole
|
||||
Flutter Release directory and passes the PE dependency audit. Processing workers
|
||||
and optional models are separate; these four repositories contain no worker bundle.
|
||||
|
||||
CI and local checks share `tool/check.py` suites for analysis, app/package tests
|
||||
and repository/tool tests. Local tooling loads `.env.local` with the project FVM
|
||||
SDK; CI uses its version-verified preinstalled SDK and ignores that file. Both
|
||||
use `tool/build.py` production/release presets for platform compilation.
|
||||
|
||||
CI always analyzes and tests the app. Ordinary code PRs also compile both
|
||||
platforms, but skip Windows packaging, artifact uploads and final assembly.
|
||||
Documentation-only PRs skip platform compilation as well. PR changes to CI,
|
||||
|
||||
Reference in new issue
Block a user