mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-06-14 13:47:10 +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
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
Copy-Item -Path "SDL2.dll" -Destination "bindings\java\build\generated\resources\main\SDL2.dll" -Force
|
Copy-Item -Path "SDL2.dll" -Destination "build\Release\SDL2.dll" -Force
|
||||||
Write-Host "Copied SDL2.dll to resources directory"
|
Write-Host "Copied SDL2.dll to build\Release\SDL2.dll directory"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
@ -42,8 +42,14 @@ tasks.register('copyWhisperDll', Copy) {
|
|||||||
into 'build/generated/resources/main'
|
into 'build/generated/resources/main'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.register('copySDL2Dll', Copy) {
|
||||||
|
from '../../build/Release'
|
||||||
|
include 'SDL2.dll'
|
||||||
|
into 'build/generated/resources/main'
|
||||||
|
}
|
||||||
|
|
||||||
tasks.register('copyLibs') {
|
tasks.register('copyLibs') {
|
||||||
dependsOn copyLibwhisperDynlib, copyLibwhisperSo, copyWhisperDll
|
dependsOn copyLibwhisperDynlib, copyLibwhisperSo, copyWhisperDll, copySDL2Dll
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user