perf(ci): tier PR builds and skip routine release packaging
Gitea CI / Check code and tests (pull_request) Successful in 7m19s
Gitea CI / Build Android APK (pull_request) Successful in 4m34s
Gitea CI / Build Windows x64 app (pull_request) Successful in 3m18s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 55s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 48s
Gitea CI / Gitea CI passed (pull_request) Successful in 2s
Gitea CI / Check code and tests (pull_request) Successful in 7m19s
Gitea CI / Build Android APK (pull_request) Successful in 4m34s
Gitea CI / Build Windows x64 app (pull_request) Successful in 3m18s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 55s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 48s
Gitea CI / Gitea CI passed (pull_request) Successful in 2s
This commit is contained in:
1 parent
20f5c1036d
commit
ca2efdaf18
5 files changed
+246
-11
No files matched your search
@@ -13,13 +13,21 @@ 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. It also saves
|
||||
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,
|
||||
tooling, native platform configuration, package dependencies or app update code
|
||||
run the complete pipeline. `ci_scope.py` compares the PR base and head using Git
|
||||
history, including deleted files; a failed comparison fails code checks.
|
||||
Main pushes and manual CI runs always execute the complete pipeline and upload
|
||||
cutdex-release-packages including SHA256SUMS and a release manifest. They also save
|
||||
cutdex-release-metadata containing only the manifest, checksums, Windows update
|
||||
index and audit report. Platform, complete and metadata artifacts retain 30 days. Protect main
|
||||
with `Gitea CI / Gitea CI passed (pull_request)`.
|
||||
with `Gitea CI / Gitea CI passed (pull_request)`. This required check validates
|
||||
every expected job and permits skipped jobs only when the selected scope
|
||||
explicitly excludes them; failures, cancellations and unexpected skips fail it.
|
||||
|
||||
Windows compilation and packaging are separate jobs. Compilation saves the
|
||||
Windows compilation and packaging are separate jobs. Full-pipeline compilation saves the
|
||||
unpackaged Release directory as `cutdex-windows-app` for 30 days; packaging
|
||||
downloads it and runs the existing PE audit and Velopack tools. Rerunning a failed
|
||||
packaging job reuses this app without recompiling. Assembly and Release jobs
|
||||
@@ -62,7 +70,7 @@ operator attention. Published Releases are never overwritten. 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.
|
||||
|
||||
PR/main CI produces Actions artifacts without creating Releases. If a tag is pushed
|
||||
Full-pipeline CI produces Actions artifacts without creating Releases. If a tag is pushed
|
||||
before main CI succeeds, release preparation fails without creating a draft; retry
|
||||
the Release workflow once CI has finished. This design overlaps platform uploads,
|
||||
not main CI builds with Release uploads. There is no legacy whole-archive
|
||||
|
||||
Reference in new issue
Block a user