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 - git clone https://github.com/google/googletest.git External/googletest
35 - C:/Python27/python.exe update_glslang_sources.py
38 parallel: true # enable MSBuild parallel builds
42 - mkdir build && cd build
43 - cmake -G "Visual Studio 12 2013 Win64" -DCMAKE_INSTALL_PREFIX=install ..
44 - cmake --build . --config %CONFIGURATION% --target install
47 - ctest -C %CONFIGURATION% --output-on-failure
48 - cd ../Test && bash runtests
52 # For debug build, the generated dll has a postfix "d" in its name.
54 If ($env:configuration -Match "Debug") {
60 # Zip all glslang artifacts for uploading and deploying
61 - 7z a glslang-master-windows-"%PLATFORM%"-"%CONFIGURATION%".zip
62 bin\glslangValidator.exe
66 lib\glslang%SUFFIX%.lib
68 lib\OGLCompiler%SUFFIX%.lib
69 lib\OSDependent%SUFFIX%.lib
71 lib\SPVRemapper%SUFFIX%.lib
72 lib\SPIRV-Tools%SUFFIX%.lib
73 lib\SPIRV-Tools-opt%SUFFIX%.lib
76 - path: build\install\*.zip
82 secure: YglcSYdl0TylEa59H4K6lylBEDr586NAt2EMgZquSo+iuPrwgZQuJLPCoihSm9y6
84 description: "Continuous build of the latest master branch by Appveyor and Travis CI"
85 artifact: artifacts-zip
91 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013