# Our solution file is currently set up for VS2015 image: Visual Studio 2015 # The project uses a submodule for the "glslang" dependency, # so we need to make sure to pull that before building. install: - git submodule update --init --recursive # We want to build the full matrix of platforms and configurations # that we support on Windows. platform: - Win32 - x64 configuration: - Release - Debug # In the interests of time, go ahead and immediately fail a build # if any job fails, rather than keep on building to discover the # full set of failures. matrix: fast_finish: true # MSBUILD should ideally be able to find our solution file # automatically, but it seems to get confused, so we specify # the file name to use here. build: project: slang.sln parallel: true verbosity: minimal # Testing # We only run tests on the Release build for now, just to speed # up the build process. # # TODO: We should really define different levels of tests, and # at least run some "smoke" tests across all builds. test_script: - ps: | if ($env:CONFIGURATION -eq "Debug") { $testCategory = "smoke" } elseif($env:PLATFORM -eq "x64") { $testCategory = "full" } else { $testCategory = "quick" } .\test.bat -platform %PLATFORM% -configuration %CONFIGURATION% -appveyor -category $testCategory # TODO: need to figure out what we want to package for deployment # TODO: on a successful build of a tag, push to GitHub releases