From 32638ee67f3283680aea33667989b5e7e51a83b7 Mon Sep 17 00:00:00 2001 From: v-junyli Date: Mon, 14 Jul 2025 05:26:00 -0700 Subject: adding a schedule to build-all-samples workflow --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e43d74f5..ed0402f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: paths-ignore: - '**.md' - 'LICENSE' + schedule: + # Runs every Tuesday at 00:00 PST (08:00 UTC) + - cron: '0 8 * * 2' jobs: build: name: Build driver samples -- cgit v1.3.1 From 08b0944581a8038ba690ceda4584272dd547d2d4 Mon Sep 17 00:00:00 2001 From: v-junyli Date: Fri, 25 Jul 2025 20:09:39 -0700 Subject: fixing the schedule --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed0402f2..e0992478 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,9 +7,9 @@ on: paths-ignore: - '**.md' - 'LICENSE' - schedule: - # Runs every Tuesday at 00:00 PST (08:00 UTC) - - cron: '0 8 * * 2' + schedule: + # Runs every Saturday at 00:00 PST (08:00 UTC) + - cron: '0 8 * * 0' jobs: build: name: Build driver samples -- cgit v1.3.1 From a5566f00aefe1ac770a96b299fa62d1a6e3da831 Mon Sep 17 00:00:00 2001 From: v-junyli Date: Fri, 25 Jul 2025 20:34:57 -0700 Subject: fixing schedule --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0992478..1f3d7693 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: - 'LICENSE' schedule: # Runs every Saturday at 00:00 PST (08:00 UTC) - - cron: '0 8 * * 0' + - cron: '0 8 * * 6' jobs: build: name: Build driver samples -- cgit v1.3.1 From 121daafe556965527d95284b83dad9d9a8fb99ac Mon Sep 17 00:00:00 2001 From: 5an7y Date: Wed, 30 Jul 2025 13:30:21 -0700 Subject: Fix the wdk version in EWDK --- Build-SampleSet.ps1 | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Build-SampleSet.ps1 b/Build-SampleSet.ps1 index 270a7eaa..42ca7b9a 100644 --- a/Build-SampleSet.ps1 +++ b/Build-SampleSet.ps1 @@ -104,19 +104,20 @@ else { exit 1 } # -# Get the WDK extension version from installed packages -$wdk_extension_ver = Get-ChildItem "${env:ProgramData}\Microsoft\VisualStudio\Packages\Microsoft.Windows.DriverKit,version=*" | Select-Object -ExpandProperty Name -$wdk_extension_ver = ([regex]'(\d+\.)(\d+\.)(\d+\.)(\d+)').Matches($wdk_extension_ver).Value -if (-not $wdk_extension_ver) { - # Be lenient with EWDK builds that do not include the package information - if ($build_environment -match '^EWDK') { - $wdk_extension_ver = "(package not found)" - } - else { + +# Be lenient with EWDK builds that do not include the package information +if ($build_environment -match '^EWDK') { + $wdk_extension_ver = "(package is not included for EWDK builds)" +} else { + # Get the WDK extension version from installed packages + $wdk_extension_ver = Get-ChildItem "${env:ProgramData}\Microsoft\VisualStudio\Packages\Microsoft.Windows.DriverKit,version=*" -ErrorAction SilentlyContinue + if (-not $wdk_extension_ver) { Write-Error "No version of the WDK Visual Studio Extension could be found. The WDK Extension is not installed." exit 1 } + $wdk_extension_ver = [regex]::Match($wdk_extension_ver.Name, '(\d+\.){3}\d+').Value } + # # # InfVerif_AdditionalOptions -- cgit v1.3.1 From 5c981553b7e6499269ec8d9ce7c1a23185ef1fb5 Mon Sep 17 00:00:00 2001 From: 5an7y Date: Mon, 11 Aug 2025 10:02:39 -0700 Subject: WDK VS component naming convention --- Build-SampleSet.ps1 | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/Build-SampleSet.ps1 b/Build-SampleSet.ps1 index 42ca7b9a..8638d517 100644 --- a/Build-SampleSet.ps1 +++ b/Build-SampleSet.ps1 @@ -103,19 +103,20 @@ else { Write-Error "Could not determine build environment." exit 1 } -# -# Be lenient with EWDK builds that do not include the package information +# Determine WDK Visual Studio Component version +# +# Be lenient with EWDK builds that do not include the component information if ($build_environment -match '^EWDK') { - $wdk_extension_ver = "(package is not included for EWDK builds)" + $wdk_vs_component_ver = "(WDK Visual Studio Component Version is not included for EWDK builds)" } else { # Get the WDK extension version from installed packages - $wdk_extension_ver = Get-ChildItem "${env:ProgramData}\Microsoft\VisualStudio\Packages\Microsoft.Windows.DriverKit,version=*" -ErrorAction SilentlyContinue - if (-not $wdk_extension_ver) { - Write-Error "No version of the WDK Visual Studio Extension could be found. The WDK Extension is not installed." + $wdk_vs_component_ver = Get-ChildItem "${env:ProgramData}\Microsoft\VisualStudio\Packages\Microsoft.Windows.DriverKit,version=*" -ErrorAction SilentlyContinue + if (-not $wdk_vs_component_ver) { + Write-Error "WDK Visual Studio Component version not found. Please ensure the WDK Component is installed." exit 1 } - $wdk_extension_ver = [regex]::Match($wdk_extension_ver.Name, '(\d+\.){3}\d+').Value + $wdk_vs_component_ver = [regex]::Match($wdk_vs_component_ver.Name, '(\d+\.){3}\d+').Value } # @@ -180,22 +181,22 @@ $jresult = @{ $SolutionsTotal = $sampleSet.Count * $Configurations.Count * $Platforms.Count -Write-Output "WDK Build Environment: $build_environment" -Write-Output "WDK Build Number: $build_number" +Write-Output "WDK Build Environment: $build_environment" +Write-Output "WDK Build Number: $build_number" if (($build_environment -eq "GitHub") -or ($build_environment -eq "NuGet")) { -Write-Output "WDK Nuget Version: $nuget_package_version" +Write-Output "WDK Nuget Version: $nuget_package_version" } -Write-Output "WDK Extension Version: $wdk_extension_ver" -Write-Output "Samples: $($sampleSet.Count)" -Write-Output "Configurations: $($Configurations.Count) ($Configurations)" -Write-Output "Platforms: $($Platforms.Count) ($Platforms)" -Write-Output "InfVerif_AdditionalOptions: $InfVerif_AdditionalOptions" -Write-Output "Combinations: $SolutionsTotal" -Write-Output "LogicalProcessors: $LogicalProcessors" -Write-Output "ThrottleFactor: $ThrottleFactor" -Write-Output "ThrottleLimit: $ThrottleLimit" -Write-Output "WDS_WipeOutputs: $env:WDS_WipeOutputs" -Write-Output "Disk Remaining (GB): $(((Get-Volume ((Get-Item ".").PSDrive.Name)).SizeRemaining) / 1GB)" +Write-Output "WDK Visual Studio Component Version: $wdk_vs_component_ver" +Write-Output "Samples: $($sampleSet.Count)" +Write-Output "Configurations: $($Configurations.Count) ($Configurations)" +Write-Output "Platforms: $($Platforms.Count) ($Platforms)" +Write-Output "InfVerif_AdditionalOptions: $InfVerif_AdditionalOptions" +Write-Output "Combinations: $SolutionsTotal" +Write-Output "LogicalProcessors: $LogicalProcessors" +Write-Output "ThrottleFactor: $ThrottleFactor" +Write-Output "ThrottleLimit: $ThrottleLimit" +Write-Output "WDS_WipeOutputs: $env:WDS_WipeOutputs" +Write-Output "Disk Remaining (GB): $(((Get-Volume ((Get-Item ".").PSDrive.Name)).SizeRemaining) / 1GB)" Write-Output "" Write-Output "T: Combinations" Write-Output "B: Built" -- cgit v1.3.1 From 920da97b3db747167926e1ec8977515001f6a567 Mon Sep 17 00:00:00 2001 From: 5an7y Date: Mon, 15 Sep 2025 09:46:16 -0700 Subject: Update wdk 6584 --- Directory.Build.props | 10 +++++----- packages.config | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 287a2500..e5137bea 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ - - - - - + + + + + diff --git a/packages.config b/packages.config index 5f93b2bf..005aead0 100644 --- a/packages.config +++ b/packages.config @@ -1,8 +1,8 @@  - - - - - + + + + + -- cgit v1.3.1