Skip to content

Commit

Permalink
NVIDIA CUDA installation via winget in workflow pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 26, 2024
1 parent ff1635a commit 1a0300e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build_ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ jobs:
with:
python-version: '3.12'

- name: MSVC v142 - VS 2019 C++ x64/x86 Build Tools
shell: powershell
- name: Install winget
uses: Cyberboss/install-winget@v1

- name: CUDA Toolkit Installation
run: |
[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
winget install Nvidia.CUDA --disable-interactivity --accept-source-agreements -e
- name: CUDA Toolkit
uses: Jimver/[email protected]
id: cuda-toolkit
with:
Expand Down

0 comments on commit 1a0300e

Please sign in to comment.