ci : download SDL2.dll and copy it to the resources directory

This commit is contained in:
Daniel Bevenius 2025-03-27 17:20:34 +01:00
parent f3c9030875
commit 1b76698c9c

View File

@ -846,6 +846,12 @@ jobs:
if: matrix.sdl2 == 'ON'
run: copy "$env:SDL2_DIR/../lib/${{ matrix.arch }}/SDL2.dll" build/bin/${{ matrix.build }}
- name: Upload SDL2.dll
uses: actions/upload-artifact@v4
with:
name: SDL2-dll
path: build/bin/${{ matrix.build }}/SDL2.dll
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
@ -1014,6 +1020,11 @@ jobs:
with:
name: win32-x86-64_whisper.dll
- name: Download SDL2.dll
uses: actions/download-artifact@v4
with:
name: SDL2-dll
- name: List downloaded files
shell: pwsh
run: |
@ -1033,6 +1044,9 @@ jobs:
exit 1
}
Copy-Item -Path "SDL2.dll" -Destination "bindings\java\build\generated\resources\main\SDL2.dll" -Force
Write-Host "Copied SDL2.dll to resources directory"
- name: Build
run: |
models\download-ggml-model.cmd tiny.en