From 00cfe003f735a99b056d0a0a4058c4c86dff9052 Mon Sep 17 00:00:00 2001 From: zarroboogs <36057965+zarroboogs@users.noreply.github.com> Date: Fri, 2 Feb 2018 06:17:13 +0200 Subject: [PATCH] reformat libs fetching, fix appveyor build with luck --- appveyor.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 92256262be..32e2448432 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -57,11 +57,11 @@ build: verbosity: normal before_build: -- cmd: | # fetch precompiled build dependencies - if not exist llvmlibs.7z appveyor DownloadFile %LLVMLIBS% -FileName llvmlibs.7z - 7z x llvmlibs.7z -aos -o"." > nul - if not exist vulkan.7z appveyor DownloadFile %VULKAN% -FileName vulkan.7z - 7z x vulkan.7z -aos -o".\lib\%CONFIGURATION%-%PLATFORM%" > nul +- ps: | # fetch precompiled build dependencies + if (!(test-path llvmlibs.7z)) { irm $env:LLVMLIBS -outfile llvmlibs.7z } + if (!(test-path vulkan.7z)) { irm $env:VULKAN -outfile vulkan.7z } + 7z x llvmlibs.7z -aos -o"." | out-null + 7z x vulkan.7z -aos -o".\lib\$env:CONFIGURATION-$env:PLATFORM" | out-null after_build: - ps: | # remove unnecessary files