GitHub CI C/C++ [Win]: updated CUDA toolkit

To fix failed run:
https://github.com/MartinPulec/UltraGrid/runs/5646203963

See also e2174fba

+ use network installer again (see 0a1b71789)
This commit is contained in:
Martin Pulec
2022-03-23 08:26:26 +01:00
parent 4f42ed73ae
commit 20f107df66

View File

@@ -6,7 +6,7 @@ Remove-Item -Recurse "C:\Program Files (x86)\dotnet"
# Install CUDA
if (!${env:no_cuda}) {
$url="https://developer.download.nvidia.com/compute/cuda/11.5.1/local_installers/cuda_11.5.1_496.13_windows.exe"
$url="https://developer.download.nvidia.com/compute/cuda/11.6.1/network_installers/cuda_11.6.1_windows_network.exe"
$url -match 'cuda/(?<version>[0-9]+.[0-9]+)'
$version=$Matches.version
Invoke-WebRequest $url -OutFile cuda_inst.exe