Add M9.8e reproducible Windows client package

Static-runtime client-package preset with /Brepro and a build identity printed by
evo-client --version (ADR-0086). tools/client packages an explicit allowlist with
licence texts from the verified sources, BUILD-INFO and SHA256SUMS into a
deterministic ZIP, refusing credentials, profile paths and non-system imports;
verification runs the extracted client without Visual Studio, and a self-test
proves each guard. Publication via Gitea Actions waits for a Windows runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-02 16:48:12 -04:00
co-authored by Claude Opus 5.5
parent 582d4baa20
commit 6262c778c7
19 changed files with 682 additions and 14 deletions
+6 -3
View File
@@ -1,8 +1,11 @@
param(
[ValidateSet('debug', 'release', 'analysis', 'asan', 'tsan', 'client', 'client-probe', 'network', 'client-network')]
[ValidateSet('debug', 'release', 'analysis', 'asan', 'tsan', 'client', 'client-probe', 'network', 'client-network', 'client-package')]
[string]$Preset = 'debug',
[ValidateSet('configure', 'build', 'test', 'format', 'check')]
[string]$Action = 'check'
[string]$Action = 'check',
# Extra configure-time cache entries, NAME=VALUE (e.g. EVO_BUILD_IDENTITY=g0123abcd).
[ValidatePattern('^[A-Z][A-Z0-9_]*=[0-9A-Za-z.+-]*$')]
[string[]]$Define = @()
)
$ErrorActionPreference = 'Stop'
$repositoryRoot = Split-Path -Parent $PSScriptRoot
@@ -29,7 +32,7 @@ $env:Path = ((@("$cmakeRoot\CMake\bin", "$cmakeRoot\Ninja", $llvmRoot) + $env:Pa
Push-Location -LiteralPath $repositoryRoot
try {
if ($Action -in @('configure', 'check')) {
& cmake --preset $Preset
& cmake --preset $Preset @($Define | ForEach-Object { "-D$_" })
if ($LASTEXITCODE -ne 0) { throw 'CMake configure failed' }
}
if ($Action -in @('build', 'check')) {