perf(ci): cache verified Velopack native archives
Gitea CI / Check code and tests (pull_request) Successful in 8m8s
Gitea CI / Build Windows x64 app (pull_request) Successful in 2m9s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 1m5s
Gitea CI / Build Android APK (pull_request) Successful in 3m4s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 51s
Gitea CI / Gitea CI passed (pull_request) Successful in 2s
Gitea CI / Check code and tests (pull_request) Successful in 8m8s
Gitea CI / Build Windows x64 app (pull_request) Successful in 2m9s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 1m5s
Gitea CI / Build Android APK (pull_request) Successful in 3m4s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 51s
Gitea CI / Gitea CI passed (pull_request) Successful in 2s
This commit is contained in:
1 parent
4a759d81a6
commit
8d1cfb5560
5 files changed
+386
No files matched your search
@@ -30,6 +30,18 @@ enabled for CI. Do not clear these caches between runs. Each job must have its o
|
||||
checkout; do not share a Flutter `build/` or `.dart_tool/` directory between jobs.
|
||||
With an ephemeral runner, these user directories must be persisted separately.
|
||||
|
||||
The Windows compilation job runs `tool/windows/native_cache.py` after locked Pub
|
||||
resolution. It reads the Velopack version and SHA256 from the resolved deskup
|
||||
package and persists its ZIP in `%LOCALAPPDATA%/Cutdex/ci-tools/native/`, keyed by
|
||||
both values. Every reuse verifies the digest; corrupt files are replaced only
|
||||
after a verified download. OS file locks coordinate concurrent jobs, and atomic
|
||||
replacement prevents interrupted downloads from becoming cache hits. Temporary
|
||||
network failures retry at most three times. `DESKUP_VELOPACK_ARCHIVE` points CMake
|
||||
at the verified local ZIP, where the SDK performs its own hash check again.
|
||||
An explicitly supplied offline archive is validated and can populate this cache.
|
||||
Version or hash changes use a separate file; no checkout-local `_deps` directory
|
||||
is shared. Persist this user cache too when using ephemeral runners.
|
||||
|
||||
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. `.fvmrc` is the shared local/CI Flutter
|
||||
|
||||
Reference in new issue
Block a user