ワンクリックで
validate-maui-mobile-tests
Use when changing MAUI target frameworks, mobile runtime packaging, or mobile test behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when changing MAUI target frameworks, mobile runtime packaging, or mobile test behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | Validate MAUI mobile tests |
| description | Use when changing MAUI target frameworks, mobile runtime packaging, or mobile test behavior. |
Use this skill for changes involving MAUI target frameworks, mobile runtime packaging, iOS/Android test projects, or .github/workflows/dotnet-maui.yml.
MAUI builds rely on these flags:
$env:USE_WHISPER_MAUI = "true"
$env:USE_WHISPER_MAUI_TESTS = "true"
Clear them after local validation:
Remove-Item Env:\USE_WHISPER_MAUI
Remove-Item Env:\USE_WHISPER_MAUI_TESTS
From the repository root:
$env:USE_WHISPER_MAUI = "true"
$env:USE_WHISPER_MAUI_TESTS = "true"
dotnet workload restore .\Whisper.net.Maui.Tests.slnx
dotnet restore .\Whisper.net.Maui.Tests.slnx
dotnet build .\Whisper.net.Maui.Tests.slnx --no-restore -warnaserror
The CI workflow uses XHarness for simulator/device execution. Prefer matching .github/workflows/dotnet-maui.yml over inventing local commands, because target frameworks and simulator images change over time.
Run mobile tests locally only when the required workloads, SDKs, emulators, and simulator images are installed. Otherwise, validate restore/build locally and rely on CI for simulator execution.
.github/workflows/dotnet-maui.ymlWhisper.net.Maui.Tests.slnxWhisper.net/Whisper.net.csprojtests/Whisper.net.Tests.Maui/Whisper.net.Tests.Maui.csprojtests/Whisper.net.Tests/Whisper.net.Tests.csproj.nuspec and .targets files under runtimes/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 validating managed .NET changes that do not modify whisper.cpp or native runtime build outputs.
Use when changing Whisper.net managed C# APIs, processors, builders, tests, or examples without changing native runtime outputs.
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.