refactor(ci): Don't use DrMemory on Azure, takes too long

(cherry picked from commit d2e62e2386)
This commit is contained in:
Julius Pfrommer 2023-12-24 02:49:50 +01:00 committed by Julius Pfrommer
parent d04e8156c4
commit 2c9b91aaff
2 changed files with 1 additions and 11 deletions

View File

@ -63,8 +63,7 @@ try {
-DUA_ENABLE_PUBSUB:BOOL=ON ` -DUA_ENABLE_PUBSUB:BOOL=ON `
-DUA_ENABLE_PUBSUB_DELTAFRAMES:BOOL=ON ` -DUA_ENABLE_PUBSUB_DELTAFRAMES:BOOL=ON `
-DUA_ENABLE_PUBSUB_INFORMATIONMODEL:BOOL=ON ` -DUA_ENABLE_PUBSUB_INFORMATIONMODEL:BOOL=ON `
-DUA_ENABLE_PUBSUB_MONITORING:BOOL=ON ` -DUA_ENABLE_PUBSUB_MONITORING:BOOL=ON ..
-DUA_ENABLE_UNIT_TESTS_MEMCHECK=ON ..
& cmake --build . --config Debug & cmake --build . --config Debug
if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) { if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
Write-Host -ForegroundColor Red "`n`n*** Make failed. Exiting ... ***" Write-Host -ForegroundColor Red "`n`n*** Make failed. Exiting ... ***"

View File

@ -47,15 +47,6 @@ try {
Write-Host -ForegroundColor Red "`n`n*** Install failed. Exiting ... ***" Write-Host -ForegroundColor Red "`n`n*** Install failed. Exiting ... ***"
exit $LASTEXITCODE exit $LASTEXITCODE
} }
Write-Host -ForegroundColor Green "`n### Installing DrMemory ###`n"
& choco install -y --no-progress drmemory.portable
if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {
Write-Host -ForegroundColor Red "`n`n*** Install failed. Exiting ... ***"
exit $LASTEXITCODE
}
#$env:Path = 'C:\Program Files (x86)\Dr. Memory\bin;' + $env:Path
#[System.Environment]::SetEnvironmentVariable('Path', $path, 'Machine')
} }
if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) { if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) {