1 # Windows Build Configuration for AppVeyor
2 # http://www.appveyor.com/docs/appveyor-yml
20 # Travis advances the master-tot tag to current top of the tree after
21 # each push into the master branch, because it relies on that tag to
22 # upload build artifacts to the master-tot release. This will cause
23 # double testing for each push on Appveyor: one for the push, one for
24 # the tag advance. Disable testing tags.
30 fast_finish: true # Show final status immediately if a test fails.
32 # scripts that run after cloning repository
34 - C:/Python27/python.exe update_glslang_sources.py
35 - git clone https://github.com/google/googletest.git External/googletest
36 - cd External/googletest
37 - git checkout 440527a61e1c91188195f7de212c63c77e8f0a45
41 parallel: true # enable MSBuild parallel builds
45 - mkdir build && cd build
46 - cmake -G "Visual Studio 12 2013 Win64" -DCMAKE_INSTALL_PREFIX=install ..
47 - cmake --build . --config %CONFIGURATION% --target install
50 - ctest -C %CONFIGURATION% --output-on-failure
51 - cd ../Test && bash runtests
55 # For debug build, the generated dll has a postfix "d" in its name.
57 If ($env:configuration -Match "Debug") {
63 # Zip all glslang artifacts for uploading and deploying
64 - 7z a glslang-master-windows-"%PLATFORM%"-"%CONFIGURATION%".zip
65 bin\glslangValidator.exe
69 lib\glslang%SUFFIX%.lib
71 lib\OGLCompiler%SUFFIX%.lib
72 lib\OSDependent%SUFFIX%.lib
74 lib\SPVRemapper%SUFFIX%.lib
75 lib\SPIRV-Tools%SUFFIX%.lib
76 lib\SPIRV-Tools-opt%SUFFIX%.lib
79 - path: build\install\*.zip
85 secure: YglcSYdl0TylEa59H4K6lylBEDr586NAt2EMgZquSo+iuPrwgZQuJLPCoihSm9y6
87 description: "Continuous build of the latest master branch by Appveyor and Travis CI"
88 artifact: artifacts-zip
94 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013