1 # Windows Build Configuration for AppVeyor
2 # http://www.appveyor.com/docs/appveyor-yml
20 # changes to these files don't need to trigger testing
24 - README-spirv-remap.txt
34 # Travis advances the master-tot tag to current top of the tree after
35 # each push into the master branch, because it relies on that tag to
36 # upload build artifacts to the master-tot release. This will cause
37 # double testing for each push on Appveyor: one for the push, one for
38 # the tag advance. Disable testing tags.
44 fast_finish: true # Show final status immediately if a test fails.
46 # scripts that run after cloning repository
48 - C:/Python27/python.exe update_glslang_sources.py
49 - set PATH=C:\ninja;C:\Python36;%PATH%
50 - git clone https://github.com/google/googletest.git External/googletest
53 parallel: true # enable MSBuild parallel builds
57 - mkdir build && cd build
58 - cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=install ..
59 - cmake --build . --config %CONFIGURATION% --target install
62 - ctest -C %CONFIGURATION% --output-on-failure
63 - cd ../Test && bash runtests
67 # For debug build, the generated dll has a postfix "d" in its name.
69 If ($env:configuration -Match "Debug") {
75 # Zip all glslang artifacts for uploading and deploying
76 - 7z a glslang-master-windows-"%PLATFORM%"-"%CONFIGURATION%".zip
77 bin\glslangValidator.exe
80 lib\GenericCodeGen%SUFFIX%.lib
81 lib\glslang%SUFFIX%.lib
82 lib\glslang-default-resource-limits%SUFFIX%.lib
84 lib\MachineIndependent%SUFFIX%.lib
85 lib\OGLCompiler%SUFFIX%.lib
86 lib\OSDependent%SUFFIX%.lib
88 lib\SPVRemapper%SUFFIX%.lib
89 lib\SPIRV-Tools%SUFFIX%.lib
90 lib\SPIRV-Tools-opt%SUFFIX%.lib
93 - path: build\install\*.zip
99 secure: YglcSYdl0TylEa59H4K6lylBEDr586NAt2EMgZquSo+iuPrwgZQuJLPCoihSm9y6
101 description: "Continuous build of the latest master branch by Appveyor and Github"
102 artifact: artifacts-zip
108 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015