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

This commit is contained in:
lingjhf committed 2026-10-06 18:11:54 +08:00
1 parent 20f5c1036d
commit ca2efdaf18
5 files changed
+246 -11

No files matched your search

+17 -1
View File
@@ -1,6 +1,22 @@
# CI build performance
The workflow runs checks first, then Android and Windows compilation concurrently.
The workflow runs checks first, then Android and Windows compilation concurrently
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
force the full pipeline. Main pushes and manual CI runs always use the full
pipeline, preserving the exact-commit artifacts needed by Release.
Scope selection uses the complete PR base/head history in the quality checkout.
Other checkouts retain their default shallow fetch. Git comparisons include
deleted paths and disable rename detection, so moving a packaging file into docs
cannot hide its deletion. Unknown paths compile both platforms; empty PR diffs
run the full pipeline. Scope selection errors fail CI instead of skipping jobs.
The final required check requires success for selected jobs and `skipped` for
excluded jobs, and always requires successful code checks.
In the full pipeline,
Windows compilation saves `cutdex-windows-app`; an independent Windows job
downloads that app, audits it and creates Velopack packages. Packaging needs
neither Flutter dependencies nor another Windows compilation. The Android job