diff options
| author | 5an7y <[email protected]> | 2026-06-23 10:38:40 -0700 |
|---|---|---|
| committer | 5an7y <[email protected]> | 2026-06-23 10:38:40 -0700 |
| commit | ceceab78412feefd2f343a0e3bc07f1262665b62 (patch) | |
| tree | 046ae1a9f147f5be0fec14f8cd7b9c97a8791296 /audio/tests/wavetest/TestResourceBuild.cpp | |
| parent | be91bbd2dc4478a57a4007fc32fe320da79f85e1 (diff) | |
Auto-discover _NT_TARGET_VERSION; remove the TargetVersion axis
- Remove the -TargetVersion parameter and all its plumbing from Build-Samples.ps1 (restoring
the original hard-coded -p:TargetVersion=Windows10), and drop the TargetVersions column from
exclusions.csv and Import-SampleExclusions. Only _NT_TARGET_VERSION remains exposed.
- Add Get-NtTargetVersions.ps1, which auto-discovers the valid _NT_TARGET_VERSION values (and
their NTDDI codes) by parsing the active WDK's DriverGeneral.xml rule. Build-Samples.ps1 uses
it to validate -NtTargetVersion, default to the latest, and map to the msbuild code, so a new
WDK version needs no script change (accepts '10.0.<build>' or the short '<build>' tag).
- CI: ci.yml and ci-pr.yml gain a 'discover' job that emits the newest-N versions as JSON; the
build matrix consumes it via fromJSON, so there is no hand-maintained version list anywhere.
Build-ChangedSamples.ps1 treats Get-NtTargetVersions.ps1 as a full-build trigger.
- Docs updated accordingly.
Co-authored-by: Copilot <[email protected]>
Diffstat (limited to 'audio/tests/wavetest/TestResourceBuild.cpp')
0 files changed, 0 insertions, 0 deletions
