add msys cache

This commit is contained in:
Stephen 2016-11-15 12:37:21 -08:00 committed by GitHub
parent 48a0e6ccb7
commit 4903f05f9b

View file

@ -6,9 +6,11 @@ environment:
matrix: matrix:
- MSYSTEM: MINGW64 - MSYSTEM: MINGW64
BASH: C:\msys64\usr\bin\bash BASH: C:\msys64\usr\bin\bash
MSYS_CACHE: C:\msys64\var\cache\pacman\pkg
CC: x86_64-w64-mingw32-gcc CC: x86_64-w64-mingw32-gcc
- MSYSTEM: MINGW32 - MSYSTEM: MINGW32
BASH: C:\msys64\usr\bin\bash BASH: C:\msys64\usr\bin\bash
MSYS_CACHE: C:\msys64\var\cache\pacman\pkg
CC: i686-w64-mingw32-gcc CC: i686-w64-mingw32-gcc
- CYG_ROOT: C:\cygwin64 - CYG_ROOT: C:\cygwin64
CYG_CACHE: C:\cygwin64\var\cache\setup CYG_CACHE: C:\cygwin64\var\cache\setup
@ -21,9 +23,10 @@ environment:
BASH: C:\cygwin\bin\bash BASH: C:\cygwin\bin\bash
CC: gcc CC: gcc
# Cache Cygwin files to speed up build # Cache Cygwin/MSYS files to speed up build
cache: cache:
- '%CYG_CACHE%' - '%CYG_CACHE%'
- '%MSYS_CACHE%'
clone_depth: 1 clone_depth: 1
# Attempt to ensure we don't try to convert line endings to Win32 CRLF as this will cause build to fail # Attempt to ensure we don't try to convert line endings to Win32 CRLF as this will cause build to fail