|
37 | 37 | - target: x86_64-pc-windows-msvc
|
38 | 38 | run_tests: YES
|
39 | 39 | - target: x86_64-pc-windows-gnu
|
| 40 | + host: x86_64-pc-windows-gnu |
40 | 41 | mingwdir: mingw64
|
41 | 42 | lto: off
|
42 | 43 | steps:
|
|
99 | 100 | # Disable the download progress bar which can cause perf issues
|
100 | 101 | $ProgressPreference = "SilentlyContinue"
|
101 | 102 | Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
|
102 |
| - .\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --profile=minimal |
| 103 | + .\rustup-init.exe -y --default-host=${{ matrix.host != '' && matrix.host || 'x86_64-pc-windows-msvc' }} --profile=minimal |
103 | 104 | del rustup-init.exe
|
104 | 105 | shell: powershell
|
105 | 106 | - name: Ensure stable toolchain is up to date
|
@@ -178,6 +179,7 @@ jobs:
|
178 | 179 | - target: x86_64-pc-windows-msvc
|
179 | 180 | run_tests: YES
|
180 | 181 | - target: x86_64-pc-windows-gnu
|
| 182 | + host: x86_64-pc-windows-gnu |
181 | 183 | mingwdir: mingw64
|
182 | 184 | lto: off
|
183 | 185 | steps:
|
@@ -240,7 +242,7 @@ jobs:
|
240 | 242 | # Disable the download progress bar which can cause perf issues
|
241 | 243 | $ProgressPreference = "SilentlyContinue"
|
242 | 244 | Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
|
243 |
| - .\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --profile=minimal |
| 245 | + .\rustup-init.exe -y --default-host=${{ matrix.host != '' && matrix.host || 'x86_64-pc-windows-msvc' }} --profile=minimal |
244 | 246 | del rustup-init.exe
|
245 | 247 | shell: powershell
|
246 | 248 | - name: Ensure stable toolchain is up to date
|
@@ -321,9 +323,11 @@ jobs:
|
321 | 323 | - target: x86_64-pc-windows-msvc
|
322 | 324 | run_tests: YES
|
323 | 325 | - target: x86_64-pc-windows-gnu
|
| 326 | + host: x86_64-pc-windows-gnu |
324 | 327 | mingwdir: mingw64
|
325 | 328 | lto: off
|
326 | 329 | - target: i686-pc-windows-gnu # skip-pr skip-master
|
| 330 | + host: x86_64-pc-windows-gnu # skip-pr skip-master |
327 | 331 | mingwdir: mingw32 # skip-pr skip-master
|
328 | 332 | lto: off # skip-pr skip-master
|
329 | 333 | steps:
|
@@ -386,7 +390,7 @@ jobs:
|
386 | 390 | # Disable the download progress bar which can cause perf issues
|
387 | 391 | $ProgressPreference = "SilentlyContinue"
|
388 | 392 | Invoke-WebRequest https://win.rustup.rs/ -OutFile rustup-init.exe
|
389 |
| - .\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --profile=minimal |
| 393 | + .\rustup-init.exe -y --default-host=${{ matrix.host != '' && matrix.host || 'x86_64-pc-windows-msvc' }} --profile=minimal |
390 | 394 | del rustup-init.exe
|
391 | 395 | shell: powershell
|
392 | 396 | - name: Ensure stable toolchain is up to date
|
|
0 commit comments