원클릭으로
run-net-tests-with-preview-native-libs
Use when validating managed .NET changes that do not modify whisper.cpp or native runtime build outputs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when validating managed .NET changes that do not modify whisper.cpp or native runtime build outputs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | Run .NET tests with preview native libs |
| description | Use when validating managed .NET changes that do not modify whisper.cpp or native runtime build outputs. |
Use this skill when you need to run Whisper.net managed tests and the change does not require rebuilding native runtimes or changing the whisper.cpp submodule.
dotnet test.whisper.cpp revision or native build-system change.Do not use this shortcut for changes under whisper.cpp, native build scripts, runtime package targets, or native binary outputs. In those cases, build the relevant native runtimes instead.
The .github/workflows/upload-build-artifacts.yml workflow:
whisper.cpp short commit SHA.preview-nativelibs-<sha>.native-runtimes.zip.runtime-artifacts/.Example release:
https://github.com/sandrohanea/whisper.net/releases/tag/preview-nativelibs-f24588a
Run from the repository root:
$commit = git rev-parse --short=7 HEAD:whisper.cpp
$tag = "preview-nativelibs-$commit"
gh release download $tag --repo sandrohanea/whisper.net --pattern native-runtimes.zip --clobber
Expand-Archive .\native-runtimes.zip -DestinationPath . -Force
Copy-Item .\runtime-artifacts\* .\runtimes\ -Recurse -Force
Remove-Item .\runtime-artifacts -Recurse -Force
Remove-Item .\native-runtimes.zip
dotnet restore .\Whisper.net.slnx
dotnet build .\Whisper.net.slnx --no-restore -warnaserror
dotnet test .\Whisper.net.slnx --no-build --logger "trx"
Run from the repository root:
commit="$(git rev-parse --short=7 HEAD:whisper.cpp)"
tag="preview-nativelibs-$commit"
gh release download "$tag" --repo sandrohanea/whisper.net --pattern native-runtimes.zip --clobber
unzip -o native-runtimes.zip
cp -R runtime-artifacts/* runtimes/
rm -rf runtime-artifacts native-runtimes.zip
dotnet restore ./Whisper.net.slnx
dotnet build ./Whisper.net.slnx --no-restore -warnaserror
dotnet test ./Whisper.net.slnx --no-build --logger "trx"
The preview native libs release contains native runtime artifacts, not necessarily test model files. Do not set WHISPER_TEST_MODEL_PATH to runtimes/ unless the required ggml-*.bin model files are present there. Without that variable, the tests download models through the normal test fixture path.
native-runtimes.zip unless the task explicitly asks to update runtime artifacts.native-runtimes.zip and runtime-artifacts/ files after unpacking.Use when changing whisper.cpp, native build scripts, runtime artifact layout, or native runtime package contents.
Use when tests need deterministic model files, model downloads fail, or WHISPER_TEST_MODEL_PATH is involved.
Use when changing Whisper.net managed C# APIs, processors, builders, tests, or examples without changing native runtime outputs.
Use when changing MAUI target frameworks, mobile runtime packaging, or mobile test behavior.
Use when changing CPU NoAvx runtime loading, package imports, or tests that must run without AVX.
Use when changing runtime selection, RuntimeOptions, NativeLibraryLoader, runtime package imports, or examples that force runtime order.