@@ -142,35 +142,6 @@ jobs:
142
142
with :
143
143
python-version : ${{ matrix.python-version }}
144
144
allow-prereleases : true
145
-
146
- # MSVC toolchain (lib.exe / cl.exe) on PATH
147
- - name : Enable MSVC dev cmd
148
- uses : ilammy/msvc-dev-cmd@v1
149
-
150
- - name : Install latest Rust stable
151
- uses : dtolnay/rust-toolchain@stable
152
- with :
153
- toolchain : stable
154
- targets : x86_64-pc-windows-msvc
155
- - name : Download winpty MSVC release
156
- shell : powershell
157
- run : |
158
- $url = "https://github.com/rprichard/winpty/releases/download/0.4.3/winpty-0.4.3-msvc2015.zip"
159
- $zip = "$env:RUNNER_TEMP\winpty-msvc.zip"
160
- Invoke-WebRequest -Uri $url -OutFile $zip
161
- New-Item -ItemType Directory -Force -Path "$env:WINPTY_ROOT" | Out-Null
162
- Expand-Archive -Path $zip -DestinationPath "$env:WINPTY_ROOT" -Force
163
- # --- Expose headers, import lib, and runtime dlls to the build ---
164
- - name : Export winpty paths
165
- shell : powershell
166
- run : |
167
- # The MSVC zip contains include/, lib/{x64,x86}/, and bin/* DLLs
168
- $INC = "$env:WINPTY_ROOT\include"
169
- $LIBDIR = "$env:WINPTY_ROOT\lib\x64"
170
- $BINDIR = "$env:WINPTY_ROOT\bin\x64"
171
- "INCLUDE=$INC;$env:INCLUDE" | Out-File -Append -Encoding ascii $env:GITHUB_ENV
172
- "LIB=$LIBDIR;$env:LIB" | Out-File -Append -Encoding ascii $env:GITHUB_ENV
173
- "PATH=$BINDIR;$env:PATH" | Out-File -Append -Encoding ascii $env:GITHUB_ENV
174
145
- name : setup-ssh-debug
175
146
if : ${{ github.event.inputs.debug == 'true' }}
176
147
uses : mxschmitt/action-tmate@v3.22
0 commit comments