From 30a770cfdc2915924acc43b27fd775579ad56172 Mon Sep 17 00:00:00 2001 From: Gator96100 Date: Mon, 5 Oct 2020 02:24:46 +0200 Subject: [PATCH] Tests --- appveyor.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index a87815baf..4ffcadf1a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -152,13 +152,11 @@ clone_script: Write-Host "ProxSpace: move cache..." -NoNewLine - Get-ChildItem "C:\cache" + Copy-Item -Path "C:\cache\*" -Destination "$env:proxspace_path\msys2\var\cache\pacman\pkg" -Recurse -Force - Copy-Item -Path "C:\cache\*" -Destination "$env:proxspace_path\msys2\var\cache\pacman\pkg" -Recurse -Force -ErrorAction SilentlyContinue + Get-ChildItem "C:\cache\" - Get-ChildItem "C:\cache" - - Get-ChildItem $env:proxspace_path\msys2\var\cache\pacman\pkg + Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\" Write-Host "[ OK ]" -ForegroundColor Gree @@ -176,6 +174,10 @@ clone_script: GitClone "WSL: Cloning repository <$env:appveyor_repo_name> to $env:wsl_git_path ..." $env:wsl_git_path + Get-ChildItem "C:\cache\" + + Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\" + install: build_script: @@ -261,15 +263,17 @@ build_script: Write-Host "ProxSpace: create new cache..." -NoNewLine - Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\" - ExecMinGWCmd 'yes | pacman -Sc > /dev/null 2>&1' - Remove-Item -Recurse -Force -Path "C:\cache\*" -ErrorAction SilentlyContinue + #Remove-Item -Recurse -Force -Path "C:\cache\*" -ErrorAction SilentlyContinue + + Get-ChildItem "C:\cache\" + + Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\" Copy-Item -Path "$env:proxspace_path\msys2\var\cache\pacman\pkg\*" -Destination "C:\cache" -Recurse -Force - Get-ChildItem "C:\cache" + Get-ChildItem "C:\cache\" Get-ChildItem "$env:proxspace_path\msys2\var\cache\pacman\pkg\"