Skip to content

ci: Tier 2 Windows compiles cold every run (no ccache, cmocka rebuilt by vcpkg) #1038

Closed

Description

@zackees

Part of #930 / #427 (item 3).

Tier 2 Windows (run 38869769397) takes 9.1 min:

Step Time
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

  1. added
    infra
    on Oct 16, 2026
  2. zackees commented on Oct 16, 2026

    @zackees
    MemberAuthor

    Claiming: #1038 (one PR, RED then GREEN).

  3. added
    claimed
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claimedinfra

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions