microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.75k stars 4.89k forks source link

Integration of Nuget and Vsix into CI pipeline #1176

Closed middlemose closed 4 weeks ago

middlemose commented 1 month ago

Adds Nuget package capability to the CI pipeline.

Adds installation of WDK vsix directly to the CI pipeline.

Updates environment variables for ease of incrementing component versions.

Pipeline Time Metrics

BuildAll (push and pull_request) Without Vsix Install: ~08m 59s With Vsix Install: ~38m 59s (optimized ~8m)

BuildChange (pull_request) Without Vsix Install: ~03m 17s With Vsix Install: ~23m 20s (optimized "pending")

CodeQL (push and pull_request) Without Vsix Install: ~1h 1m 43s With Vsix Install: ~1h 34m 31s (optimized ~1h 16m 2s)

Average WDK Vsix Install Time ~21m (optimized ~15s)

Average WDK Nuget Restore ~1m 30s

image

image

JakobL-MSFT commented 1 month ago

Do you need to update your performance numbers now that you have $optimize?

middlemose commented 4 weeks ago

Issues reverting driver files. Creating a new pull request.