Skip to content

Commit 4b89b14

Browse files
Update build.yml
1 parent 252f6e1 commit 4b89b14

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,15 @@ jobs:
8181
- name: Setup MSVC environment
8282
uses: ilammy/msvc-dev-cmd@v1
8383

84-
- name: Install CUDA Toolkit
85-
uses: Jimver/[email protected]
86-
with:
87-
cuda: '12.3.2'
88-
method: network
84+
- name: Install CUDA 12.4.0 (powershell)
85+
shell: powershell
86+
run: |
87+
curl -L -o cuda.exe `
88+
https://developer.download.nvidia.com/compute/cuda/12.4.0/network_installers/cuda_12.4.0_windows_network.exe
89+
Start-Process -Wait -FilePath .\cuda.exe -ArgumentList `
90+
"-s nvcc_12.4 cudart_12.4 cuobjdump_12.4 nvprune_12.4"
91+
echo "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin" >> $env:GITHUB_PATH
92+
echo "CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4" >> $env:GITHUB_ENV
8993
9094
- name: Check CUDA install
9195
run: |

0 commit comments

Comments
 (0)