mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-04 05:44:53 +00:00
Major optimizations to reduce Windows build time from ~45 min to ~10 min: 1. **Single consolidated job** - Previously two parallel jobs (Release/Debug) duplicated the entire 34-minute vcpkg install. Now builds both configurations sequentially in one job, sharing all cached dependencies. 2. **lukka/run-vcpkg action** - Replaces manual git clone + bootstrap with the official vcpkg action that has built-in caching and better handling. 3. **Cache vcpkg installed packages** - Separately cache the installed/ directory with hash-based keys for faster cache hits. 4. **Cargo caching** - Add caching for Rust registry and build artifacts, similar to the Linux build workflow. 5. **Chocolatey caching** - Cache gpac package to skip download on hits. 6. **Conditional installs** - Skip vcpkg install and choco install when cache is available. 7. **Updated Rust toolchain action** - Replace deprecated actions-rs/toolchain with dtolnay/rust-toolchain. Expected improvements: - Cold build: ~20 minutes (down from ~45 min) - Warm build (cache hit): ~5-10 minutes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>