mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
refactor(ci): Don't use DrMemory on Azure, takes too long
(cherry picked from commit d2e62e2386
)
This commit is contained in:
parent
d04e8156c4
commit
2c9b91aaff
@ -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 ... ***"
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user