mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-11 12:16:48 +02:00
ci : copy SDL2.dll to build\Release\SDL2.dll
This commit is contained in:
parent
fdeea64b86
commit
14ffc5e282
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -1045,8 +1045,8 @@ 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"
|
||||
Copy-Item -Path "SDL2.dll" -Destination "build\Release\SDL2.dll" -Force
|
||||
Write-Host "Copied SDL2.dll to build\Release\SDL2.dll directory"
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
@ -42,8 +42,14 @@ tasks.register('copyWhisperDll', Copy) {
|
||||
into 'build/generated/resources/main'
|
||||
}
|
||||
|
||||
tasks.register('copySDL2Dll', Copy) {
|
||||
from '../../build/Release'
|
||||
include 'SDL2.dll'
|
||||
into 'build/generated/resources/main'
|
||||
}
|
||||
|
||||
tasks.register('copyLibs') {
|
||||
dependsOn copyLibwhisperDynlib, copyLibwhisperSo, copyWhisperDll
|
||||
dependsOn copyLibwhisperDynlib, copyLibwhisperSo, copyWhisperDll, copySDL2Dll
|
||||
}
|
||||
|
||||
test {
|
||||
|
Loading…
x
Reference in New Issue
Block a user