From 7516d9c16da9281d180b33f1c91b9a1d0193c5ae Mon Sep 17 00:00:00 2001 From: Tamotsu Takahashi Date: Sun, 19 Nov 2023 19:43:22 +0900 Subject: [PATCH] ci : redistribute CUDA DLLs (#1522) see https://docs.nvidia.com/cuda/eula/index.html#attachment-a --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 974ecda5..851d87b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -320,6 +320,13 @@ jobs: cd ./build msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }} + - name: Copy CUDA DLLs + run: > + Copy-Item -PassThru + -Path "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/*.dll" + -Include cudart64_*,cublas64_*,cublasLt64_* + -Destination build/bin/${{ matrix.build }} + - name: Copy SDL2.dll if: matrix.sdl2 == 'ON' run: copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}