Update workflows to windows-2025-vs2026 and ubuntu-24.04 runners - #4461
Conversation
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/3c2693b7-fedd-4e07-8868-372b0a38ae73 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
…Test namespace (#4462) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/62c95009-bf7c-4ff3-915e-f6e3e47f6232 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Checked the remaining failures. The only real failure on this PR was |
|
Copilot now libclang isn't working - do we need a new version of libclang perhaps - check the build failure |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/d0e2a44c-336d-421a-8805-3c020e0a5a23 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
The LLVM 18.1.8 prebuilt binary still links against |
|
Copilot still not working |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/4c07df5c-34f4-4812-a4a4-173f977bfc16 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
You were right — needed a new libclang. The LLVM 18.1.8 Linux prebuilt is built on ubuntu-18.04 and requires the versioned |
|
Copilot still broke |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/5fc000c2-67e2-48e2-a793-7d839700c494 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
The LLVM 20 bump fixed Linux but broke Windows — |
|
Copilot .net failure on the build - might be intermittent - also why not just update windows to the same latest version? |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/75b1507f-caac-4096-8061-cf23bdac773d Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
The .NET failure was in Unified Windows to LLVM 20 to match Linux in ad65f25 ( |
|
Copilot still broken - I think you are clueless here - can you try a little harder and stop guessing 😉 |
… LLVM 20/Windows) Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/86aa0433-54be-4569-a10a-99a849a4eeab Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
You were right — I checked the logs this time instead of guessing. The Reverted to the split that we know works in 9657920: LLVM 18 on Windows ( |
|
Copilot one more time |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/04be929c-cea6-49bf-9198-c8315722e4b4 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
The remaining failure was |
|
Copilot almost but looks like the dotnet install left some garbage behind which fails the diff check at the end |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/e98d38d9-ae8e-4fc6-adac-ecdd43764b2a Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Good catch — |
GitHub Actions began emitting
NOTICE: windows-2025 requests are being redirected to windows-2025-vs2026 by June 15, 2026. Re-pinning to the new image label silences the notice; while here, also bumped the pinned Ubuntu runners to the current LTS.windows-2025→windows-2025-vs2026(Windows Server 2025 + Visual Studio 2026) acrossclippy,doc,lib,miri,msrv,msrv-windows,no_std,no-default-features,publish,slim_errors,test.ubuntu-22.04→ubuntu-24.04acrosscross,doc,fmt,gen,no-default-features,test.windows-11-arm(only ARM Windows label) andubuntu-latestinweb.yml(already tracks 24.04).libtinfo5install steps fromtest.ymlanddoc.yml. The package is no longer available on Ubuntu 24.04 (E: Unable to locate package libtinfo5).KyleMayes/install-llvm-actionLLVM version from"18"to"20"on Linux intest.ymlanddoc.yml. The LLVM 18.1.8 Linux prebuilt is built on ubuntu-18.04 and requires the versionedNCURSES_TINFO_5.0.19991023symbols from real libtinfo5 (a libtinfo6 symlink does not satisfy those versioned symbols). LLVM 20 prebuilts use the modern Linux packaging that works on Ubuntu 24.04.clippy.ymland the Windows jobs oftest.yml. LLVM 20 onwindows-2025-vs2026reliably crashes thesample_webviewlibclang-based build script withSTATUS_ACCESS_VIOLATION(reproduced on both x64 clippy and arm64 test jobs); LLVM 18 continues to work on Windows.test.ymluses tworunner.os-conditional install steps to install the appropriate version per platform.nightly i686job intest.yml. The newwindows-2025-vs2026image only ships x86 .NET 8.0.27 and 10.0.8 (x64/arm64 9.0.x are still preinstalled), but thecsharp_clienttest launches anet9.0win-x86process. A conditional step gated onmatrix.target == 'i686-pc-windows-msvc'downloadsdotnet-install.ps1into$RUNNER_TEMP(to keep the working tree clean for the finalgit diff --exit-codecheck) and runs it with-Channel 9.0 -Runtime dotnet -Architecture x86to install intoC:\Program Files (x86)\dotnetso the existingdotnet.exelauncher finds the matching x86 runtime.