appveyor: decompress twice

This commit is contained in:
Alam Ed Arias 2017-01-06 20:49:31 -05:00
parent 8d1a2e3453
commit b1c323d87f

View file

@ -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: