mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-11 21:08:29 +02:00
ci : use arch for .dll names and enable jna debug
This commit is contained in:
parent
fa8c577b14
commit
4c0c912176
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -581,7 +581,7 @@ jobs:
|
||||
- name: Upload dll
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.jnaPath }}_whisper.dll
|
||||
name: whisper_${{ matrix.arch }}.dll
|
||||
path: build/bin/${{ matrix.build }}/whisper.dll
|
||||
|
||||
- name: Upload binaries
|
||||
@ -1020,7 +1020,7 @@ jobs:
|
||||
- name: Download Windows lib
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: win32-x86-64_whisper.dll
|
||||
name: whisper_x64.dll
|
||||
|
||||
- name: Download SDL2.dll
|
||||
uses: actions/download-artifact@v4
|
||||
@ -1037,8 +1037,8 @@ jobs:
|
||||
run: |
|
||||
New-Item -Path "build\Release" -ItemType Directory -Force
|
||||
|
||||
Copy-Item -Path "whisper.dll" -Destination "build\Release\whisper.dll" -Force
|
||||
Write-Host "Copied whisper.dll to build\Release\whisper.dll directory"
|
||||
Copy-Item -Path "whisper_x64.dll" -Destination "build\Release\whisper.dll" -Force
|
||||
Write-Host "Copied whisper_x64.dll to build\Release\whisper.dll directory"
|
||||
|
||||
Copy-Item -Path "SDL2.dll" -Destination "build\Release\SDL2.dll" -Force
|
||||
Write-Host "Copied SDL2.dll to build\Release\SDL2.dll directory"
|
||||
|
@ -10,6 +10,7 @@ import io.github.ggerganov.whispercpp.params.WhisperFullParams;
|
||||
|
||||
class JnaDebugHelper {
|
||||
static {
|
||||
System.setProperty("jna.debug_load", "true");
|
||||
System.out.println("JNA Library Path: " + System.getProperty("jna.library.path"));
|
||||
System.out.println("Working directory: " + System.getProperty("user.dir"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user