Appveyor create cache even if build fails

This commit is contained in:
Gator96100 2020-10-04 22:01:57 +02:00
parent c2799c528a
commit 16dd79e5fd

View file

@ -147,8 +147,7 @@ clone_script:
ExecUpdate "ProxSpace: initial msys2 startup..." $true
ExecUpdate "ProxSpace: installing required packages..." $false
ExecUpdate "ProxSpace: installing required packages..." $false
$psversion = (Select-String -Pattern 'PSVERSION=' -SimpleMatch -Path "$env:proxspace_path\msys2\ps\09-proxspace_setup.post").Line.Split("""")[1]
@ -241,6 +240,14 @@ build_script:
#ProxSpace
Write-Host "ProxSpace: create new cache..." -NoNewLine
ExecMinGWCmd 'yes | pacman -Sc > /dev/null 2>&1'
Move-Item -Path "$env:proxspace_path\msys2\var\chache" -Destination "C:\cache"
Write-Host "[ OK ]" -ForegroundColor Gree
Write-Host "---------- PS make ----------" -ForegroundColor Yellow
$TestTime=[System.Environment]::TickCount
@ -283,14 +290,6 @@ build_script:
ExecCheck "PS cmake Tests"
Write-Host "ProxSpace: create new cache..." -NoNewLine
ExecMinGWCmd 'yes | pacman -Sc > /dev/null 2>&1'
Move-Item -Path "$env:proxspace_path\msys2\var\chache" -Destination "C:\cache"
Write-Host "[ OK ]" -ForegroundColor Gree
Receive-Job -Wait -Job $WSLjob