summaryrefslogtreecommitdiff
path: root/.github/scripts/Build-ChangedSamples.ps1
AgeCommit message (Collapse)Author
2026-06-23Auto-discover _NT_TARGET_VERSION; remove the TargetVersion axis5an7y
- 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]>
2026-03-30Merge Build-Sample.ps1 into Build-Samples.ps1 as internal function5an7y
- Inline Build-Sample.ps1 logic as Build-SingleSample function in Build-Samples.ps1 - Pass function definition into parallel runspaces via $using: pattern - Replace exit codes with return values for in-process execution - Delete Build-Sample.ps1 (no longer needed as a separate script) - Update Build-ChangedSamples.ps1 trigger file list
2026-03-30Remove Build-AllSamples.ps1 and Build-SampleSet.ps1 in favor of ↵5an7y
Build-Samples.ps1 - Delete Build-AllSamples.ps1 and Build-SampleSet.ps1 (replaced by Build-Samples.ps1) - Update ci.yml workflow to call Build-Samples.ps1 - Update Build-ChangedSamples.ps1 to call Build-Samples.ps1 - Rewrite Building-Locally.md Step 6 with new script usage and output format - Update Step 7 NuGet notes to reference Build-Samples.ps1
2024-09-18Upgrade nuget SDK and WDK packages to 26100.1591 (#1217)JakobL-MSFT
* Upgrade NuGet to 10.0.26100.1591
2024-01-15Partial Manual Merge of develop to main specifically to add support for fine ↵JakobL-MSFT
grained exclusions (#1076) user/jakob/partial_manual_merge_develop_to_main_fine_grained_exclusion
2023-06-29Add configuration filter to exclusion list (#1001)Adonais Romero González
2023-05-01Build all samples on PRs with changes to scripts/workflows (#981)Adonais Romero González
Now whenever a change in a script or workflow is detected when running the PR workflow, a full build will be triggered. Updated changed-files action as well to remove warning about deprecated actions being used + general improvements.
2023-01-30Build scripts update (#844)Adonais Romero González
--------- Co-authored-by: Jakob Lichtenberg (170957) <[email protected]>