1 # Windows Build Configuration for AppVeyor
2 # http://www.appveyor.com/docs/appveyor-yml
23 # Travis advances the master-tot tag to current top of the tree after
24 # each push into the master branch, because it relies on that tag to
25 # upload build artifacts to the master-tot release. This will cause
26 # double testing for each push on Appveyor: one for the push, one for
27 # the tag advance. Disable testing tags.
33 fast_finish: true # Show final status immediately if a test fails.
35 - os: Visual Studio 2013
37 - os: Visual Studio 2015
40 # scripts that run after cloning repository
42 - git clone https://github.com/KhronosGroup/SPIRV-Headers.git external/spirv-headers
43 - git clone https://github.com/google/googletest.git external/googletest
44 - git clone https://github.com/google/effcee.git external/effcee
45 - git clone https://github.com/google/re2.git external/re2
48 parallel: true # enable MSBuild parallel builds
52 - mkdir build && cd build
53 - cmake -DSPIRV_BUILD_COMPRESSION=ON -DCMAKE_INSTALL_PREFIX=install ..
54 - cmake --build . --config %CONFIGURATION% --target install
57 - ctest -C %CONFIGURATION% --output-on-failure --timeout 300
60 # Zip build artifacts for uploading and deploying
62 - 7z a SPIRV-Tools-master-windows-"%PLATFORM%"-"%CONFIGURATION%".zip *\*
65 - path: build\install\*.zip
71 secure: TMfcScKzzFIm1YgeV/PwCRXFDCw8Xm0wY2Vb2FU6WKlbzb5eUITTpr6I5vHPnAxS
73 description: "Continuous build of the latest master branch by Appveyor and Travis CI"
74 artifact: artifacts-zip
80 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017