Document release setup and limit Android memory for parallel CI
This commit is contained in:
1 parent
d648033f03
commit
1c9b702c54
2 files changed
+31
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# Gitea Windows and Android builds
|
||||
|
||||
The Windows x64 host runner needs Flutter 3.47.5, 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.
|
||||
|
||||
Set CUTDEX_GITEA_TOKEN in repository Actions Secrets with repository read and
|
||||
package read access. It authenticates private Gitea native package downloads.
|
||||
The Android APK includes ARM64 and x86_64, uses the production flavor and currently
|
||||
uses the project's debug signing configuration. Configure formal signing before
|
||||
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.
|
||||
|
||||
PR/main CI analyzes and tests the app, builds both platforms, and uploads
|
||||
cutdex-release-packages including SHA256SUMS and a release manifest. Protect main
|
||||
with `Gitea CI / Gitea CI passed (pull_request)`.
|
||||
|
||||
After main CI succeeds, create v<pubspec version> at that exact commit. The Release
|
||||
workflow downloads the existing CI artifact, requires both APK and Windows ZIP,
|
||||
checks their digests, uploads to a draft Release, verifies remote bytes, then
|
||||
publishes it. It refuses to overwrite a published Release. A manual dispatch with
|
||||
the existing tag can retry an interrupted draft publication. The built-in GITEA_TOKEN
|
||||
handles release writes and Actions artifact reads; no separate release-write PAT
|
||||
is required. Do not commit credentials or keystores.
|
||||
Reference in new issue
Block a user