Skip to content

Speed up Windows CI with parallel builds and shared caches - #28

Merged
YasenSS merged 8 commits into
linker-bot:mainfrom
YasenSS:ci/windows-build-cache
Nov 17, 2026
Merged

YasenSS merged 8 commits into
linker-bot:mainfrom
YasenSS:ci/windows-build-cache

Conversation

@YasenSS

@YasenSS YasenSS commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Problem

Windows CI repeatedly builds Catch2 and does not fully parallelize compilation within large test targets.

Changes

  • Use Ninja with native MSVC v143 14.44 and four parallel compilation jobs.
  • Add sccache with architecture, configuration and toolchain isolation.
  • Share one pinned C++17 Catch2 installation between transport and hand tests.
  • Record compiler cache statistics and per-step validation durations.
  • Retain all Windows x64/ARM64 Debug/Release test and package checks.
  • Update the English and Chinese release guides.

Validation

  • Passed 48 Python validation tests.
  • Passed actionlint, documentation checks, formatting and whitespace checks.
  • Passed macOS Ninja/sccache offline tests for transport and hand, including native-loader tests.
  • Passed installed SDK find_package consumer validation.
  • Verified Catch2 installation reuse and compiler cache hits locally.

Native Windows execution and performance measurements remain pending PR CI.

YasenSS and others added 8 commits November 16, 2026 10:01
Schedule bounded angle work between tactile stages
Use Ninja with the native MSVC 14.44 environment and optional sccache. Reuse a pinned C++17 Catch2 installation across transport and hand tests, isolate caches by build identity, and record validation durations and cache statistics. Preserve the full Windows architecture and configuration matrix and document the setup in both languages.
Pass the raw cmd.exe arguments through ProcessStartInfo so PowerShell does not rewrite quotes around the Visual Studio batch path. Drain both redirected output streams before importing the compiler environment.
Keep native x64 and ARM64 Release packages. Update collection and draft
validation to require the ten-package set and twenty-two assets, and
align current workflow documentation without changing published assets.
Use Ninja and distribution-provided ccache inside persistent native
containers. Isolate caches by distribution, architecture, image and
installed toolchain, retain complete release validation, and record
cache statistics. Build the shared Catch2 installation as C++17 PIC.
@YasenSS
YasenSS merged commit 7958a2b into linker-bot:main Nov 17, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant