1 # Windows Build Configuration for AppVeyor
2 # http://www.appveyor.com/docs/appveyor-yml
5 # This version starts a separte job for each platform config
6 # in order to get around the AppVeyor limit of 60 mins per job.
11 # Free accounts have a max of 1, but ask anyway.
18 - git config --global core.autocrlf true
21 PYTHON_PATH: "C:/Python35"
22 PYTHON_PACKAGE_PATH: "C:/Python35/Scripts"
23 CMAKE_URL: "http://cmake.org/files/v3.10/cmake-3.10.2-win64-x64.zip"
29 # Install desired CMake version 3.10.2 before any other building
31 - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
32 - 7z x cmake.zip -oC:\cmake > nul
33 - set path=C:\cmake\bin;%path%
37 - "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%"
38 - echo Starting build for %APPVEYOR_REPO_NAME% in %APPVEYOR_BUILD_FOLDER%
40 - python %APPVEYOR_BUILD_FOLDER%/scripts/update_deps.py --arch=%PLATFORM% --config=%CONFIGURATION% --dir=%APPVEYOR_BUILD_FOLDER%/external
41 # Verify consistency between source file generators and output
42 - echo Verifying consistency between source file generators and output
43 - python %APPVEYOR_BUILD_FOLDER%/scripts/generate_source.py --verify %APPVEYOR_BUILD_FOLDER%/external/Vulkan-Headers/registry
44 # Generate build files using CMake for the build step.
45 - echo Generating Vulkan-Tools CMake files for %PLATFORM% %CONFIGURATION%
46 - cd %APPVEYOR_BUILD_FOLDER%
49 - cmake -A %PLATFORM% -C %APPVEYOR_BUILD_FOLDER%/external/helper.cmake ..
50 - echo Building platform=%PLATFORM% configuration=%CONFIGURATION%
60 # Build only x64 Release and Win32(x86) Debug to reduce build time.
61 # This should still provide adequate 32-bit vs 64-bit and
62 # Release vs Debug coverage.
65 - configuration: Release
67 - configuration: Debug
71 parallel: true # enable MSBuild parallel builds
72 project: build/Vulkan-Tools.sln # path to Visual Studio solution or project
73 verbosity: quiet # quiet|minimal|normal|detailed