ci: give each static Linux target its own cache and job
CI / Docker image (pull_request) Successful in 15s
CI / CLI (pull_request) Successful in 15s
CI / Server (pull_request) Successful in 25s
CI / CLI (linux-arm64, static) (pull_request) Successful in 1m44s
CI / CLI (windows) (pull_request) Successful in 2m8s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 3m32s
CI / Docker image (pull_request) Successful in 15s
CI / CLI (pull_request) Successful in 15s
CI / Server (pull_request) Successful in 25s
CI / CLI (linux-arm64, static) (pull_request) Successful in 1m44s
CI / CLI (windows) (pull_request) Successful in 2m8s
CI / CLI (linux-x86-64, static) (pull_request) Successful in 3m32s
Both checks rebuilt from scratch every run: the arm64 key already existed, so the cache was never saved. Cache per target, build without debug info, check x86-64 in its own job, and stop caching cli/target on Windows.
This commit is contained in:
2 files changed
+39
-6
No files matched your search
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/spec/
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- The CI caches each static Linux target under its own key, builds them without debug info, and
|
||||
checks the x86-64 build in a job of its own, so the cross-compile no longer rebuilds from scratch
|
||||
on every run. The Windows check stops uploading `cli/target` to the cache, which cost more time
|
||||
than the check itself.
|
||||
|
||||
### Fixed
|
||||
|
||||
- The Linux CLI binaries are statically linked against musl, so they run on any distribution
|
||||
|
||||
Reference in new issue
Block a user