From b1c323d87f1db7442fda594036022319886a40f9 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Fri, 6 Jan 2017 20:49:31 -0500 Subject: [PATCH] appveyor: decompress twice --- appveyor.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index b077895b..bf9b22ff 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,7 @@ environment: CCACHE_URL: http://alam.srb2.org/ccache.exe CCACHE_COMPRESS: true CCACHE_DIR: C:\Users\appveyor\.ccache - MINGW_LZMA: gcc-core-4.8.1-4-mingw32-bin.tar.lzma + MINGW_TAR: gcc-core-4.8.1-4-mingw32-bin.tar MINGW_URL: http://downloads.sourceforge.net/project/mingw/MinGW/Base/gcc/Version4/gcc-4.8.1-4/gcc-core-4.8.1-4-mingw32-bin.tar.lzma cache: @@ -36,8 +36,9 @@ install: - ccache -M 99M - xcopy /Y /V /I ccache.exe %MINGW_SDK%\bin -- if not exist "%MINGW_LZMA%" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_LZMA%" -- 7z x -y "%MINGW_LZMA%" -o%TMP% >null +- if not exist "%MINGW_TAR%.lzma" appveyor DownloadFile "%MINGW_URL%" -FileName "%MINGW_TAR%.lzma" +- 7z x -y "%MINGW_TAR%.lzma" -o%TMP% >null +- 7z x -y "%TMP%\%MINGW_TAR%" -o %TMP% >null - robocopy /S /xx /ns /nc /nfl /ndl /np /njh /njs %TMP%\bin %MINGW_SDK%\bin || exit 0 configuration: