From: Tamotsu Takahashi Date: Sun, 19 Nov 2023 10:43:22 +0000 (+0900) Subject: ci : redistribute CUDA DLLs (#1522) X-Git-Tag: upstream/1.7.4~1245 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7516d9c16da9281d180b33f1c91b9a1d0193c5ae;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ci : redistribute CUDA DLLs (#1522) see https://docs.nvidia.com/cuda/eula/index.html#attachment-a --- 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 }}