File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 78
78
# Check the `calculate_matrix` job to see how is the matrix defined.
79
79
include : ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}
80
80
steps :
81
+ # Temporary fix to unblock CI
82
+ # We revert to an older Windows SDK for 32-bit Windows MSVC builds.
83
+ # See issue https://github.com/rust-lang/rust/issues/137733 for more details.
84
+ - name : Downgrade Windows SDK
85
+ shell : pwsh
86
+ if : ${{ matrix.name == 'i686-msvc-1' || matrix.name == 'i686-msvc-2' || matrix.name == 'dist-i686-msvc' }}
87
+ run : |
88
+ echo ";c:/msys64/usr/bin" >> $env:GITHUB_PATH
89
+ $vs = &"${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -format value -property installationPath
90
+ &$vs\Common7\Tools\Launch-VsDevShell.ps1 -HostArch Amd64 -Arch x86
91
+ Enter-VsDevshell -VsInstallPath $vs -HostArch Amd64 -Arch x86 -DevCmdArguments "-winsdk=10.0.22621.0"
92
+ $new_env = ls env: | foreach { echo "$($_.key)=$($_.value)" }
93
+ $new_env >> $env:GITHUB_ENV
94
+ $env:PATH >> $env:GITHUB_PATH
95
+
81
96
- name : disable git crlf conversion
82
97
run : git config --global core.autocrlf false
83
98
You can’t perform that action at this time.
0 commit comments