Skip to content

Commit

Permalink
Revert "CI Windows: use action to install CUDA"
Browse files Browse the repository at this point in the history
This reverts commit 499ccb9.

Although using the action may have some advantages, it also has some
glitches, namely the run when CUDA is not found in cache, it fails, which
is annoying. Also caching doesn't see to exhibit significant advantage
because chocolatey downloads the installer in 30 seconds, anyways.
  • Loading branch information
MartinPulec committed Feb 16, 2024
1 parent 74c4801 commit b466557
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,14 @@ jobs:

steps:
- uses: actions/checkout@main
- uses: Jimver/[email protected]
id: cuda-toolkit
- name: install CUDA
run: |
choco install cuda -y --no-progress
#$url="https://developer.download.nvidia.com/compute/cuda/12.1.0/network_installers/cuda_12.1.0_windows_network.exe"
#$url -match 'cuda/(?<version>[0-9]+.[0-9]+)'
#$version=$Matches.version
#Invoke-WebRequest $url -OutFile cuda_inst.exe
#Start-Process -FilePath "cuda_inst.exe" -ArgumentList "-s cudart_$version nvcc_$version visual_studio_integration_$version" -Wait -NoNewWindow
- name: install NSIS
run: choco install nsis -y --no-progress
- name: install GLFW
Expand Down

0 comments on commit b466557

Please sign in to comment.