Skip to content

Commit f4a3eb6

Browse files
committed
Remove Win SDK 10.0.26100.0 from CI
1 parent f339951 commit f4a3eb6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

+11
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,17 @@ jobs:
179179
- name: show the current environment
180180
run: src/ci/scripts/dump-environment.sh
181181

182+
- name: Remove Windows SDK 10.0.26100.0
183+
shell: powershell
184+
if: ${{ matrix.name == 'i686-msvc-1' || matrix.name == 'i686-msvc-2' || matrix.name == 'dist-i686-msvc' }}
185+
run: |
186+
$kits = (Get-ItemProperty -path 'HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots').KitsRoot10
187+
$sdk_version = "10.0.26100.0"
188+
189+
foreach ($kind in 'Bin', 'Lib', 'Include') {
190+
Remove-Item -Force -Recurse $kits\$kind\$sdk_version -ErrorAction SilentlyContinue
191+
}
192+
182193
- name: run the build
183194
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
184195
run: src/ci/scripts/run-build-from-ci.sh 2>&1

0 commit comments

Comments
 (0)