diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2025-02-27 21:50:30 +0000 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-02-28 11:58:21 -0800 |
| commit | 4f0b4a42e4e8a905f1531fcc7bbba94df13d2a33 (patch) | |
| tree | b7a2721f1973fa90b772af61364cbe7aa806213d | |
| parent | 86e362f0a4c11dcd1fff4a949b4ea8eaaedceea1 (diff) | |
Remove Win SDK 10.0.26100.0 from CI
(cherry picked from commit 25617c7e695d716d0ecb3cf2366d371441505e47)
| -rw-r--r-- | .github/workflows/ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0934e42b277..1c119847421 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -173,6 +173,20 @@ jobs: - name: ensure the stable version number is correct run: src/ci/scripts/verify-stable-version-number.sh + # Temporary fix to unblock CI + # Remove the latest Windows SDK for 32-bit Windows MSVC builds. + # See issue https://github.com/rust-lang/rust/issues/137733 for more details. + - name: Remove Windows SDK 10.0.26100.0 + shell: powershell + if: ${{ matrix.name == 'i686-msvc-1' || matrix.name == 'i686-msvc-2' || matrix.name == 'dist-i686-msvc' }} + run: | + $kits = (Get-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots').KitsRoot10 + $sdk_version = "10.0.26100.0" + + foreach ($kind in 'Bin', 'Lib', 'Include') { + Remove-Item -Force -Recurse $kits\$kind\$sdk_version -ErrorAction Continue + } + - name: run the build # Redirect stderr to stdout to avoid reordering the two streams in the GHA logs. run: src/ci/scripts/run-build-from-ci.sh 2>&1 |
