mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-11 01:26:10 +01:00
Merge bitcoin/bitcoin#28796: ci: Drop no longer needed "Fix Visual Studio installation" step
5bd1b8d4f1
ci: Drop no longer needed "Fix Visual Studio installation" step (Hennadii Stepanov) Pull request description: The underlying issue has been [fixed](https://github.com/actions/runner-images/pull/8686) in the image version 20231029. ACKs for top commit: maflcko: lgtm ACK5bd1b8d4f1
Tree-SHA512: d0efef3086a147d863c9b5f45ba1142c6e7cc65e47d685b2094211e58036315fb7562253b7d7172b527fa1ded4b5a86634ba7c151e761ec20fe948145aff83fe
This commit is contained in:
commit
d2d53b4ac8
1 changed files with 0 additions and 31 deletions
31
.github/workflows/ci.yml
vendored
31
.github/workflows/ci.yml
vendored
|
@ -136,37 +136,6 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Fix Visual Studio installation
|
||||
# See: https://github.com/actions/runner-images/issues/7832#issuecomment-1617585694.
|
||||
run: |
|
||||
Set-Location "C:\Program Files (x86)\Microsoft Visual Studio\Installer\"
|
||||
$InstallPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
|
||||
$componentsToRemove= @(
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ARM"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ARM.Spectre"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ARM64"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ARM64.Spectre"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.x86.x64"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.x86.x64.Spectre"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ATL"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ATL.Spectre"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ATL.ARM"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ATL.ARM.Spectre"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ATL.ARM64"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.ATL.ARM64.Spectre"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.MFC"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.MFC.Spectre"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.MFC.ARM"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.MFC.ARM.Spectre"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.MFC.ARM64"
|
||||
"Microsoft.VisualStudio.Component.VC.14.35.17.5.MFC.ARM64.Spectre"
|
||||
)
|
||||
[string]$workloadArgs = $componentsToRemove | ForEach-Object {" --remove " + $_}
|
||||
$Arguments = ('/c', "vs_installer.exe", 'modify', '--installPath', "`"$InstallPath`"",$workloadArgs, '--quiet', '--norestart', '--nocache')
|
||||
# should be run twice
|
||||
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
|
||||
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden
|
||||
|
||||
- name: Configure Developer Command Prompt for Microsoft Visual C++
|
||||
# Using microsoft/setup-msbuild is not enough.
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
|
|
Loading…
Add table
Reference in a new issue