You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: Tier 2 Windows compiles cold every run (no ccache, cmocka rebuilt by vcpkg) #1038
vcpkg install cmocka:x64-windows (built from source)
47 s (37 s compiling)
OFF configure + build
2 min 52 s
ON configure + build
2 min 42 s
OFF ctest, ON ctest
40 s each
The windows-ci-x64 preset sets ENABLE_CCACHE=ON, and cmake/windows/compilerconfig.cmake uses ccache as cl.exe whenever ccache is on PATH, as the Windows OBS build job already does. Tier 2 Windows never installs or restores ccache, so both builds compile cold.
Fix: in rust-tier2, on Windows only, restore a Tier 2 ccache, install the same pinned ccache 4.14.1 (sha256-checked) the Windows build uses, save on master, and give vcpkg a binary cache (VCPKG_BINARY_SOURCES + actions/cache) so cmocka is restored instead of rebuilt. A test in ci/ pins it.
Activity
zackees commentedon Oct 16, 2026
Claiming: #1038 (one PR, RED then GREEN).
ci: Tier 2 Windows reuses compiles with ccache and a vcpkg binary cac…