Merge nucleic/keen-maple-heron-yzg3 into dev
This commit is contained in:
@@ -155,8 +155,22 @@ function Build-Protocol([hashtable]$sql) {
|
|||||||
function Build-Core([hashtable]$sql) {
|
function Build-Core([hashtable]$sql) {
|
||||||
Write-Step 'core: building NucleicCore (full Windows manifest)'
|
Write-Step 'core: building NucleicCore (full Windows manifest)'
|
||||||
Write-Note 'Expected to fail until the §12 item 7-9 shims land — the errors ARE the M0 gap list.'
|
Write-Note 'Expected to fail until the §12 item 7-9 shims land — the errors ARE the M0 gap list.'
|
||||||
if ($Test) { return Invoke-Swift @('test', '--filter', 'NucleicCarbonTests') $sql }
|
# NucleicCore only EXISTS when NUCLEIC_WINDOWS_PROTOCOL_ONLY is absent: with it set,
|
||||||
return Invoke-Swift @('build', '--target', 'NucleicCore') $sql
|
# Package.swift narrows the manifest to [NucleicProtocol, NucleicProtocolTests] and this
|
||||||
|
# fails with "no target named 'NucleicCore'". CI never sets it for this job, but a local
|
||||||
|
# shell that ran the protocol leg by hand keeps it — so clear it just for this build and
|
||||||
|
# hand it back afterwards.
|
||||||
|
$inherited = $env:NUCLEIC_WINDOWS_PROTOCOL_ONLY
|
||||||
|
if ($inherited) {
|
||||||
|
Write-Note 'Ignoring inherited NUCLEIC_WINDOWS_PROTOCOL_ONLY — core needs the full manifest.'
|
||||||
|
Remove-Item Env:\NUCLEIC_WINDOWS_PROTOCOL_ONLY
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
if ($Test) { return Invoke-Swift @('test', '--filter', 'NucleicCarbonTests') $sql }
|
||||||
|
return Invoke-Swift @('build', '--target', 'NucleicCore') $sql
|
||||||
|
} finally {
|
||||||
|
if ($inherited) { $env:NUCLEIC_WINDOWS_PROTOCOL_ONLY = $inherited }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function Build-Broker {
|
function Build-Broker {
|
||||||
|
|||||||
Reference in New Issue
Block a user