Verify staged files in AppContainer
This commit is contained in:
@@ -15,7 +15,7 @@ $obj = Join-Path $outputDir 'appcontainer_probe.obj'
|
||||
try {
|
||||
Push-Location $repoRoot
|
||||
try {
|
||||
$compile = 'call "{0}" && cl.exe /nologo /EHsc /W4 /Fo:"{1}" "{2}" /Fe:"{3}" /link Userenv.lib Ole32.lib Advapi32.lib' -f $vcvars, $obj, $source, $exe
|
||||
$compile = 'call "{0}" && cl.exe /nologo /EHsc /W4 /MT /Fo:"{1}" "{2}" /Fe:"{3}" /link Userenv.lib Ole32.lib Advapi32.lib' -f $vcvars, $obj, $source, $exe
|
||||
& cmd.exe /d /s /c $compile
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "C++ probe compilation failed with exit code $LASTEXITCODE"
|
||||
|
||||
Reference in New Issue
Block a user