appveyor cache limit was reached so reduce the build matrix for now

This commit is contained in:
Thomas Fussell 2017-03-23 23:09:22 -04:00
parent a11645b42a
commit e040a1c4ab

View File

@ -5,12 +5,10 @@ cache:
- vcpkg -> .appveyor.yml - vcpkg -> .appveyor.yml
platform: platform:
- Win32
- x64 - x64
configuration: configuration:
- Debug - Debug
- Release
environment: environment:
matrix: matrix:
@ -20,12 +18,14 @@ environment:
init: [] init: []
install: install:
- if [%platform%]==[Win32] set VCPKG_PLATFORM=x86-windows
- if [%platform%]==[x64] set VCPKG_PLATFORM=x64-windows
- if not exist vcpkg git clone https://github.com/Microsoft/vcpkg - if not exist vcpkg git clone https://github.com/Microsoft/vcpkg
- cd vcpkg - cd vcpkg
- if not exist downloads mkdir downloads - if not exist downloads mkdir downloads
- if not exist downloads\AlwaysAllowDownloads type nul > downloads\AlwaysAllowDownloads - if not exist downloads\AlwaysAllowDownloads type nul > downloads\AlwaysAllowDownloads
- powershell -exec bypass scripts\bootstrap.ps1 - powershell -exec bypass scripts\bootstrap.ps1
- vcpkg install cryptopp:x64-windows zlib:x64-windows expat:x64-windows cryptopp:x86-windows zlib:x86-windows expat:x86-windows - vcpkg install cryptopp:%VCPKG_PLATFORM% zlib:%VCPKG_PLATFORM% expat:%VCPKG_PLATFORM%
- vcpkg integrate install - vcpkg integrate install
- cd .. - cd ..
@ -40,11 +40,8 @@ build:
verbosity: minimal verbosity: minimal
test_script: test_script:
- dir tests
- cd tests\%configuration% - cd tests\%configuration%
- if [%platform%]==[Win32] set VCPKG_PLATFORM=x86-windows - set VCPKG_DIR=%VCPKG_PLATFORM%
- if [%platform%]==[x64] set VCPKG_PLATFORM=x64-windows - if [%configuration%]==[Debug] set VCPKG_DIR=%VCPKG_DIR%\debug
- if [%configuration%]==[Debug] set VCPKG_PLATFORM=%VCPKG_PLATFORM%\debug - set PATH=C:\projects\xlnt\vcpkg\installed\%VCPKG_DIR%\bin;%PATH%
- set PATH=C:\projects\xlnt\vcpkg\installed\%VCPKG_PLATFORM%\bin;%PATH%
- echo %PATH%
- xlnt.test.exe - xlnt.test.exe