mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-24 11:18:58 +02:00
ci : fix copy of whiper.ddl to build\Release dir
This commit is contained in:
parent
36fa375b81
commit
956ceefd58
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -1037,18 +1037,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
New-Item -Path "build\Release" -ItemType Directory -Force
|
New-Item -Path "build\Release" -ItemType Directory -Force
|
||||||
|
|
||||||
$dllPath = Get-ChildItem -Path "." -Recurse -Filter "*.dll" | Select-Object -First 1 -ExpandProperty FullName
|
Copy-Item -Path "whisper.dll" -Destination "build\Release\whisper.dll" -Force
|
||||||
if ($dllPath) {
|
Write-Host "Copied whisper.dll to build\Release\whisper.dll directory"
|
||||||
Copy-Item -Path $dllPath -Destination "build\Release\whisper.dll" -Force
|
|
||||||
Write-Host "Copied from $dllPath to build\Release\whisper.dll"
|
|
||||||
} else {
|
|
||||||
Write-Host "No DLL found in the downloaded artifact"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
Copy-Item -Path "SDL2.dll" -Destination "build\Release\SDL2.dll" -Force
|
Copy-Item -Path "SDL2.dll" -Destination "build\Release\SDL2.dll" -Force
|
||||||
Write-Host "Copied SDL2.dll to build\Release\SDL2.dll directory"
|
Write-Host "Copied SDL2.dll to build\Release\SDL2.dll directory"
|
||||||
|
|
||||||
|
- name: List build release files
|
||||||
|
shell: pwsh
|
||||||
|
run: |
|
||||||
|
Get-ChildItem -Path "build\Release -Recurse -Filter "*.dll"
|
||||||
|
|
||||||
- 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