Appveyor create cache even if build fails
This commit is contained in:
19
appveyor.yml
19
appveyor.yml
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user