Skip to content

Commit

Permalink
CI Windows: use action to install CUDA
Browse files Browse the repository at this point in the history
Similarly to Chocolatey, the the installation of CUDA currently fails
but using the action could have some benefits, anyways, eg. caching,
eventaully the action may introduce some workaround for the installation
problem.
  • Loading branch information
MartinPulec committed Feb 13, 2024
1 parent b9042d5 commit 499ccb9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,8 @@ jobs:

steps:
- uses: actions/checkout@main
- 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
- uses: Jimver/[email protected]
id: cuda-toolkit
- name: install NSIS
run: choco install nsis -y --no-progress
- name: install GLFW
Expand Down

0 comments on commit 499ccb9

Please sign in to comment.