2017-06-27 18:11:16 +00:00
|
|
|
# Build matrix / environment variables are explained on:
|
|
|
|
# https://www.appveyor.com/docs/appveyor-yml/
|
|
|
|
# This file can be validated on: https://ci.appveyor.com/tools/validate-yaml
|
|
|
|
|
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
# AppVeyor currently has no custom job name feature.
|
|
|
|
# http://help.appveyor.com/discussions/questions/1623-can-i-provide-a-friendly-name-for-jobs
|
|
|
|
- JOB: Visual Studio 2017
|
|
|
|
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
CMAKE_GENERATOR: Visual Studio 15 2017
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- x86
|
|
|
|
- x64
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- RelWithDebInfo
|
|
|
|
- Debug
|
|
|
|
|
|
|
|
build:
|
|
|
|
verbosity: minimal
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- mkdir out
|
|
|
|
- cd out
|
2017-07-27 23:34:19 +00:00
|
|
|
- if "%platform%"=="x64" set CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64
|
2017-07-28 16:55:21 +00:00
|
|
|
- cmake --version
|
2017-06-27 18:11:16 +00:00
|
|
|
- cmake .. -G "%CMAKE_GENERATOR%"
|
2018-08-08 21:41:36 +00:00
|
|
|
-DCMAKE_CONFIGURATION_TYPES="%CONFIGURATION%" -DSNAPPY_REQUIRE_AVX=ON
|
2017-06-27 18:11:16 +00:00
|
|
|
- cmake --build . --config %CONFIGURATION%
|
2017-07-27 23:34:19 +00:00
|
|
|
- cd ..
|
2017-06-27 18:11:16 +00:00
|
|
|
|
|
|
|
test_script:
|
2018-03-09 15:42:50 +00:00
|
|
|
- out\%CONFIGURATION%\snappy_unittest
|