2016-05-17 13:02:45 +00:00
|
|
|
# Windows Build Configuration for AppVeyor
|
|
|
|
# http://www.appveyor.com/docs/appveyor-yml
|
|
|
|
|
|
|
|
# version format
|
|
|
|
version: "{build}"
|
|
|
|
|
2016-08-10 14:12:14 +00:00
|
|
|
os:
|
|
|
|
- Visual Studio 2013
|
|
|
|
- Visual Studio 2015
|
2016-05-17 13:02:45 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
- Any CPU
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
clone_depth: 5
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true # Show final status immediately if a test fails.
|
|
|
|
|
|
|
|
# scripts that run after cloning repository
|
|
|
|
install:
|
2016-06-22 14:53:41 +00:00
|
|
|
- git clone https://github.com/KhronosGroup/SPIRV-Headers.git external/spirv-headers
|
2016-05-17 13:02:45 +00:00
|
|
|
- git clone https://github.com/google/googletest.git external/googletest
|
|
|
|
|
|
|
|
build:
|
|
|
|
parallel: true # enable MSBuild parallel builds
|
|
|
|
verbosity: minimal
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake ..
|
|
|
|
- cmake --build . --config %CONFIGURATION%
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- ctest -C %CONFIGURATION% --output-on-failure
|