| Age | Commit message (Collapse) | Author |
|
- 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]>
|
|
Exclusions:
- Add MinNtTargetVersion/MaxNtTargetVersion columns to exclusions.csv so a row can apply
only within an _NT_TARGET_VERSION build-number range (parsed from -NtTargetVersion, e.g.
22000 from 10.0.22000). Import-SampleExclusions filters this range at load time alongside
the existing build-number range; blank = unbounded.
- Exclude the samples that fail only when linking against older library sets, with the
reason taken from the build logs: audio.sysvad (<=22000, KSJACK_DESCRIPTION3);
network.netadaptercx.netvadapter and network.wlan.wificx (<=22621, NDIS/DDI version);
powerlimit.plclient/plpolicy (<=22621, POWER_LIMIT_ATTRIBUTES); storage classpnp/storahci
(<=22621, STOR_ADDRESS_TYPE_NVME, Debug-only) and storage.msdsm (Debug|x64). usb.usbview is
intentionally NOT excluded: it fails on every version for a known host reason (missing
.NET 4.7.2/4.8.1 targeting packs).
CI:
- ci.yml and ci-pr.yml: add _NT_TARGET_VERSION as a manual matrix axis (4 newest versions,
latest-first) so each version x configuration x platform runs on its own parallel runner.
- Build-Samples.ps1 and Join-CsvReports.ps1 now write an easy-to-scan Markdown summary to
GITHUB_STEP_SUMMARY: each build job shows counts and a failures table with the first error;
the report job shows per-version totals and a consolidated failures list, plus the
colour-coded sample x version HTML/CSV overview.
Co-authored-by: Copilot <[email protected]>
|
|
Add an optional TargetVersions column to exclusions.csv so an exclusion can
be limited to specific target OS versions (e.g. exclude ARM only when
building Windows8). The column holds a ';'-separated list of -like patterns
matched against -TargetVersion; blank or '*' means all versions, so every
existing row stays applicable to all targets.
Import-SampleExclusions now takes -TargetVersion and filters rows by it at
load time (alongside the existing MinBuild/MaxBuild range); a missing column
is treated as '*' for backward compatibility. Document the new column and an
example in Building-Locally.md.
Co-authored-by: Copilot <[email protected]>
|
|
The CPP20 compiler fix in this PR resolves the VS 18.4 build failure, so the build exclusion is no longer needed.
Co-authored-by: Copilot <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fix descriptions in list
|
|
This PR adds power limit policy and client driver as samples to use OS native power limit interfaces.
|
|
* Fix TrEE sample
* Fix TrEE sample
|
|
* Add explicit flag for arm64 for ehsc and remove incremental link as ehsc is not passsed for ARM64 VS and looks like ltcg is not supported as well.
* Update exclusions.csv
* Set exception handling via property ExceptionHandling
---------
Co-authored-by: Prashant Chahar <[email protected]>
Co-authored-by: JakobL-MSFT <[email protected]>
Co-authored-by: Jakob Lichtenberg (170957) <[email protected]>
|
|
|
|
|
|
* compiles on both EWDKs needed for all 5 Samples
* fixes the debug build which broke during merge conflict resolution
* Update exclusions.csv
---------
Co-authored-by: Elaine Houha <[email protected]>
Co-authored-by: JakobL-MSFT <[email protected]>
|
|
WDK but still broken for GE WDK
|
|
* add prm sample
* Update exclusions.csv
* add owners for PRM and GPIO samples
* fix INF
---------
Co-authored-by: Yinghan Yang (307315) <[email protected]>
Co-authored-by: JakobL-MSFT <[email protected]>
|
|
build flags (#1078)
* Fixes for sample build errors
* Fix additional sample
* Add additional sample
* Updated comments in Build-Sample.ps1
* Adjusting exclusions.csv to be accurate for GE. Still issues for NI that we need to understand better
* Merge from develop branch
* Merge from develop branch
* Merge from develop branch
* Delete WPD samples
* Separate infverif additional options for old vs new WDK
* Delete WPD samples entry in our CODEOWNERS file
* Fix spelling error
* For 22621 WDK Remove the /samples flag
---------
Co-authored-by: Zac Lockard <[email protected]>
Co-authored-by: Jakob Lichtenberg (170957) <[email protected]>
|
|
|
|
|
|
* Update exclusive.csv
* Fix extension_loose solution and projects
* Fix extension_tight projects
* Minor update
* Update exclusions.csv
* Update exclusions.csv - Undo my prior edit
---------
Co-authored-by: Shunni Li <[email protected]>
Co-authored-by: JakobL-MSFT <[email protected]>
|
|
|
|
* user/jakobl/fine_grained_exclusions
* user/jakobl/fine_grained_exclusions
* user/jakobl/fine_grained_exclusions
* user/jakobl/fine_grained_exclusions
* user/jakobl/fine_grained_exclusions
* user/jakobl/fine_grained_exclusions
* Update exclusions.csv
|
|
|
|
|
|
|
|
|
|
* Set WindowsTargetPlatformVersion to target latest one instead of a fixed version
* Set PlatformToolset to target latest one instead of a fixed version
* Set FileDigestAlgorithm to clear errors caused by a digest algorithm not being specified
* Removed exception for general\dchu\osrfx2_dchu_base; sample now builds successfully
|
|
|
|
|
|
|
|
|
|
|
|
* Add scripts to build a set of samples, as well as individual solution folders.
* Add GitHub workflows to use these scripts and build all samples on push and changed samples on pull request.
For now samples will be built under Windows 2019 but eventually workflow will be moved to run under Windows 2022.
|