mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-23 10:51:22 +02:00
ci : download SDL2.dll and copy it to the resources directory
This commit is contained in:
parent
f3c9030875
commit
1b76698c9c
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -846,6 +846,12 @@ jobs:
|
|||||||
if: matrix.sdl2 == 'ON'
|
if: matrix.sdl2 == 'ON'
|
||||||
run: copy "$env:SDL2_DIR/../lib/${{ matrix.arch }}/SDL2.dll" build/bin/${{ matrix.build }}
|
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
|
- name: Upload binaries
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@ -1014,6 +1020,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: win32-x86-64_whisper.dll
|
name: win32-x86-64_whisper.dll
|
||||||
|
|
||||||
|
- name: Download SDL2.dll
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: SDL2-dll
|
||||||
|
|
||||||
- name: List downloaded files
|
- name: List downloaded files
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
@ -1033,6 +1044,9 @@ jobs:
|
|||||||
exit 1
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
models\download-ggml-model.cmd tiny.en
|
models\download-ggml-model.cmd tiny.en
|
||||||
|
Loading…
Reference in New Issue
Block a user