Merge pull request #405 from steve-lunarg/samplers
[platform/upstream/glslang.git] / .appveyor.yml
1 # Windows Build Configuration for AppVeyor
2 # http://www.appveyor.com/docs/appveyor-yml
3
4 # build version format
5 version: "{build}"
6
7 os: Visual Studio 2013
8
9 platform:
10   - Any CPU
11
12 configuration:
13   - Debug
14   - Release
15
16 branches:
17   only:
18     - master
19
20 clone_depth: 5
21
22 matrix:
23   fast_finish: true # Show final status immediately if a test fails.
24
25 # scripts that run after cloning repository
26 install:
27   - git clone https://github.com/google/googletest.git External/googletest
28
29 build:
30   parallel: true  # enable MSBuild parallel builds
31   verbosity: minimal
32
33 build_script:
34   - mkdir build && cd build
35   - cmake .. -DCMAKE_INSTALL_PREFIX=install
36   - cmake --build . --config %CONFIGURATION% --target install
37
38 test_script:
39   - ctest -C %CONFIGURATION% --output-on-failure
40   - cd ../Test && bash runtests