ci: add missing platform tools from VS build tools

Fixes this failure:
```
error MSB8020: The build tools for Visual Studio 2017 (Platform Toolset = 'v141') cannot be found.
To build using the v141 build tools, please install Visual Studio 2017 build tools.
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-06-20 20:48:06 +02:00 committed by Jakub
parent ec2c6dd8ea
commit 73d5206160
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ function Install-VC-BuildTools {
"--add", "Microsoft.VisualStudio.Component.Windows10SDK.10240", "--add", "Microsoft.VisualStudio.Component.Windows10SDK.10240",
"--add", "Microsoft.VisualStudio.Component.Windows10SDK.14393", "--add", "Microsoft.VisualStudio.Component.Windows10SDK.14393",
"--add", "Microsoft.VisualStudio.Component.Windows81SDK", "--add", "Microsoft.VisualStudio.Component.Windows81SDK",
"--add", "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81" "--add", "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81",
"--add", "Microsoft.VisualStudio.ComponentGroup.UWP.VC.v141.BuildTools"
) )
Start-Process -Wait -PassThru -FilePath $VCBuildToolsExe -ArgumentList $VCBuildToolsArgs Start-Process -Wait -PassThru -FilePath $VCBuildToolsExe -ArgumentList $VCBuildToolsArgs
} }