appveyor: add correct ccache folder to cache and add CONFIG to build archive

This commit is contained in:
Alam Ed Arias 2016-05-18 23:48:29 -04:00
parent 6ee81f7b1d
commit ded9dd7940
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ environment:
cache:
- ccache.exe
- C:\Users\appveyor\.ccache
- :\Users\appveyor\AppData\Roaming\.ccache
install:
- if not exist "%CCACHE_EXE%" appveyor DownloadFile "%CCACHE_URL%" -FileName "%CCACHE_EXE%"
@ -40,7 +40,7 @@ after_build:
- ccache -s
- cmd: git rev-parse --short %APPVEYOR_REPO_COMMIT%>%TMP%/gitshort.txt
- cmd: set /P GITSHORT=<%TMP%/gitshort.txt
- set BUILD_ARCHIVE=%APPVEYOR_REPO_BRANCH%-%GITSHORT%.7z
- set BUILD_ARCHIVE=%APPVEYOR_REPO_BRANCH%-%GITSHORT%-%CONFIGUATION%.7z
- cmd: 7z a %BUILD_ARCHIVE% bin\Mingw\Release -xr!.gitignore
- appveyor PushArtifact %BUILD_ARCHIVE%