d5c7225d6a5af0c0db3fa3ab1f4bb06aa07a6806
[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   - C:/Python27/python.exe update_glslang_sources.py
29
30 build:
31   parallel: true  # enable MSBuild parallel builds
32   verbosity: minimal
33
34 build_script:
35   - mkdir build && cd build
36   - cmake .. -DCMAKE_INSTALL_PREFIX=install
37   - cmake --build . --config %CONFIGURATION% --target install
38
39 test_script:
40   - ctest -C %CONFIGURATION% --output-on-failure
41   - cd ../Test && bash runtests