Skip to content

ci: pin CMake 4.4.5 in GNU master differential and benchmark Windows jobs - #1857

Merged
caomengxuan666 merged 5 commits into
mainfrom
devin/2026112219-ci-pin-cmake-differential
Nov 22, 2026
Merged

caomengxuan666 merged 5 commits into
mainfrom
devin/2026112219-ci-pin-cmake-differential

Conversation

@caomengxuan666

@caomengxuan666 caomengxuan666 commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Summary

GNU master differential (compare, baseline) has been red at Build native Windows Release on every main push since 2026-11-20 (runs 44696552493 … 45014878210, including 453c3b7 after #1855). Two causes, both from the rolled windows-2025 image:

  1. CMake 4.5.0: build: pin CMake 4.4.5 in build-windows CI + FATAL_ERROR on unknown import-std CMake version #1855 pinned CMake 4.4.5 only in build-windows, and since build: pin CMake 4.4.5 in build-windows CI + FATAL_ERROR on unknown import-std CMake version #1855 cmake/enable_import_std.cmake hard-fails on 4.5. This PR adds the identical Pin CMake 4.4.5 step before each Windows build in gnu-master-differential.yml (compare, baseline) and benchmark-speed-matrix.yml (speed-matrix, weekly/dispatch only, same latent break).
  2. Rust std needs synchronization.lib: these jobs build with the image's default Rust (no RUST2_TOOLCHAIN pin). With CMake pinned, the link of winuxcmd.exe then failed:
    winuxcmd_ffi.lib(std-...rcgu.o) : error LNK2001: unresolved external symbol __imp_WakeByAddressSingle
    winuxcmd_ffi.lib(std-...rcgu.o) : error LNK2001: unresolved external symbol __imp_WakeByAddressAll
    winuxcmd_ffi.lib(std-...rcgu.o) : error LNK2001: unresolved external symbol __imp_WaitOnAddress
    winuxcmd.exe : fatal error LNK1120: 3 unresolved externals
    
    CMakeLists.txt now adds synchronization to winuxcmd-rust2-lib's INTERFACE_LINK_LIBRARIES. That also covers the next RUST2_TOOLCHAIN bump in build-windows. Pinned 1.99.1 does not list it in --print native-static-libs, and linking an unused import lib is a no-op.

No user-visible text changes, so unixwin/winuxcmd-i18n needs no catalog sync.

Verification

  • The workflow runs on pull_request, so this PR's GNU master differential run is the test. The link error above came from this branch's run 45019406835: a temporary commit wrote the build-log tail as an annotation (Actions log downloads are blocked on the worker VM), and that commit is reverted.
  • Final head 2ddbb2f: GNU master differential is green (oracle, compare, baseline, baseline-growth), and all four build-windows legs, rust-tests and i18n-drift are green. The first x64-default ctest attempt failed and passed on the next run. I could not get the test names, so I added the ctest-gate.ps1 change below.
  • Still red: rust2-gate-shards (engines-find, find) and the rust2-gate rollup. The same shard also fails on main (run 45014878211, 15 min timeout). This PR does not touch find or the cargo gate build. The PR stays draft because of that red shard.

Also included: scripts/ctest-gate.ps1 now names the still-failing tests in its error annotation, so a red ctest leg can be diagnosed from the check-run API without downloading logs.

Refs #1855, #1488 (unblocks the differential gate the R-ification campaign relies on).

caomengxuan666 and others added 5 commits November 22, 2026 11:31
…jobs

#1855 pinned CMake 4.4.5 only in build-windows. The GNU master
differential (compare, baseline) and the speed-matrix benchmark build
on the same windows-2025 image with CMake 4.5.0 and have been red at
'Build native Windows Release' on every main push since the image roll.
Apply the same pin step before each Windows build.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The GNU master differential jobs build with the windows-2025 image's
default Rust toolchain (no RUST2_TOOLCHAIN pin), whose std binds
WaitOnAddress/WakeByAddressSingle/WakeByAddressAll; the link failed
with LNK2001 __imp_WakeByAddressSingle / LNK1120. Add synchronization
to the imported target's interface libs. Drop the temporary build-log
annotation diagnostic.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Job logs are not always reachable (log downloads redirect to blob
storage); the check-run annotation is. List the tests that still fail
after the serial retry so a red ctest leg is diagnosable from the API.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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