We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 811d722 commit 360d40aCopy full SHA for 360d40a
1 file changed
.github/workflows/windows-cuda.yml
@@ -58,9 +58,13 @@ jobs:
58
if (-not (Test-Path $cudaPath)) {
59
throw "CUDA path '$cudaPath' does not exist."
60
}
61
+ $nvccExe = Join-Path $cudaPath "bin\nvcc.exe"
62
+ if (-not (Test-Path $nvccExe)) {
63
+ throw "nvcc executable '$nvccExe' does not exist."
64
+ }
65
"CUDA_PATH=$cudaPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
66
"$cudaPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- nvcc -V
67
+ & $nvccExe -V
68
- name: Add MSBuild to PATH
69
uses: microsoft/setup-msbuild@v2
70
- name: Configure Build
0 commit comments