Merge nucleic/lucid-river-toad-6efj into dev
This commit is contained in:
@@ -232,6 +232,16 @@ function Build-Core([hashtable]$sql) {
|
||||
function Build-Broker {
|
||||
Write-Step 'broker: dotnet test windows\Nucleic.sln'
|
||||
& dotnet test (Join-Path $repo 'windows\Nucleic.sln') --nologo | Out-Host
|
||||
if ($LASTEXITCODE -ne 0) { return $LASTEXITCODE }
|
||||
|
||||
# The tests run against FakeWslc, so they never compile Wslc/WslcFacade.cs — the one file
|
||||
# that touches the preview SDK, and the one most likely to break when the pin moves. Build
|
||||
# it too, or the real facade is unguarded on the only machine that can run it.
|
||||
#
|
||||
# Build, not test: exercising it needs a live wslc service, which is M1 (a2)'s job.
|
||||
Write-Step 'broker: dotnet build -p:UseWslc=true (the real Microsoft.WSL.Containers facade)'
|
||||
& dotnet build (Join-Path $repo 'windows\NucleicBroker\NucleicBroker.csproj') `
|
||||
-p:UseWslc=true --nologo | Out-Host
|
||||
return $LASTEXITCODE
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user