Skip to content

Commit

Permalink
MSVC v142 - VS 2019 C++ x64/x86 Build Tools installation on workflow …
Browse files Browse the repository at this point in the history
…pipeline.
  • Loading branch information
nthnn committed Oct 26, 2024
1 parent 78f8bf8 commit 87659fd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build_ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
python-version: '3.12'

- name: MSVC v142 - VS 2019 C++ x64/x86 Build Tools
shell: cmd
run: |
"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" modify --channelId VisualStudio.16.Release --productId Microsoft.VisualStudio.Product.Enterprise -q --includeRecommended --add "Microsoft.VisualStudio.Component.VC.14.25.x86.x64"
powershell: |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$client = new-object System.Net.WebClient
$client.DownloadFile("$(visual_bootstrapper)","vs_enterprise.exe")
.\vs_enterprise.exe modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" --add Microsoft.VisualStudio.Component.VC.14.25.x86.x64 --passive --wait
- name: CUDA Toolkit
uses: Jimver/[email protected]
Expand Down

0 comments on commit 87659fd

Please sign in to comment.