File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,20 @@ jobs:
189
189
- name : ensure the stable version number is correct
190
190
run : src/ci/scripts/verify-stable-version-number.sh
191
191
192
+ # Temporary fix to unblock CI
193
+ # Remove the latest Windows SDK for 32-bit Windows MSVC builds.
194
+ # See issue https://github.com/rust-lang/rust/issues/137733 for more details.
195
+ - name : Remove Windows SDK 10.0.26100.0
196
+ shell : powershell
197
+ if : ${{ matrix.name == 'i686-msvc-1' || matrix.name == 'i686-msvc-2' || matrix.name == 'dist-i686-msvc' }}
198
+ run : |
199
+ $kits = (Get-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots').KitsRoot10
200
+ $sdk_version = "10.0.26100.0"
201
+
202
+ foreach ($kind in 'Bin', 'Lib', 'Include') {
203
+ Remove-Item -Force -Recurse $kits\$kind\$sdk_version -ErrorAction Continue
204
+ }
205
+
192
206
- name : run the build
193
207
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
194
208
run : src/ci/scripts/run-build-from-ci.sh 2>&1
You can’t perform that action at this time.
0 commit comments