Tamotsu Takahashi commited on
Commit
aaab0d5
·
unverified ·
1 Parent(s): 2b4a95c

ci : redistribute CUDA DLLs (#1522)

Browse files

see https://docs.nvidia.com/cuda/eula/index.html#attachment-a

Files changed (1) hide show
  1. .github/workflows/build.yml +7 -0
.github/workflows/build.yml CHANGED
@@ -320,6 +320,13 @@ jobs:
320
  cd ./build
321
  msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }}
322
 
 
 
 
 
 
 
 
323
  - name: Copy SDL2.dll
324
  if: matrix.sdl2 == 'ON'
325
  run: copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}
 
320
  cd ./build
321
  msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }}
322
 
323
+ - name: Copy CUDA DLLs
324
+ run: >
325
+ Copy-Item -PassThru
326
+ -Path "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/*.dll"
327
+ -Include cudart64_*,cublas64_*,cublasLt64_*
328
+ -Destination build/bin/${{ matrix.build }}
329
+
330
  - name: Copy SDL2.dll
331
  if: matrix.sdl2 == 'ON'
332
  run: copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}