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 PYTHON_PATH: "C:/Python35"
19 PYTHON_PACKAGE_PATH: "C:/Python35/Scripts"
26 - "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%"
27 - echo Starting build for %APPVEYOR_REPO_NAME% in %APPVEYOR_BUILD_FOLDER%
28 # Build Vulkan-Headers
29 - echo Building Vulkan-Headers for %PLATFORM% %CONFIGURATION%
30 - cd %APPVEYOR_BUILD_FOLDER%
31 - git clone https://github.com/KhronosGroup/Vulkan-Headers.git
35 - cmake -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=install ..
36 - cmake --build . --config %CONFIGURATION% --target install -- /maxcpucount
38 - echo Building Vulkan-Loader for %PLATFORM% %CONFIGURATION%
39 - cd %APPVEYOR_BUILD_FOLDER%
40 - git clone https://github.com/KhronosGroup/Vulkan-Loader.git
44 - cmake -A %PLATFORM% -DVULKAN_HEADERS_INSTALL_DIR=%APPVEYOR_BUILD_FOLDER%/Vulkan-Headers/build/install -DCMAKE_INSTALL_PREFIX=install ..
45 - cmake --build . --config %CONFIGURATION% --target install -- /maxcpucount
46 # Generate build files using CMake for the build step.
47 - echo Generating Vulkan-Tools CMake files for %PLATFORM% %CONFIGURATION%
48 - cd %APPVEYOR_BUILD_FOLDER%
51 - cmake -A %PLATFORM% -DVULKAN_HEADERS_INSTALL_DIR=%APPVEYOR_BUILD_FOLDER%/Vulkan-Headers/build/install -DVULKAN_LOADER_INSTALL_DIR=%APPVEYOR_BUILD_FOLDER%/Vulkan-Loader/build/install ..
52 - echo Building platform=%PLATFORM% configuration=%CONFIGURATION%
62 # Build only x64 Release and Win32(x86) Debug to reduce build time.
63 # This should still provide adequate 32-bit vs 64-bit and
64 # Release vs Debug coverage.
67 - configuration: Release
69 - configuration: Debug
73 parallel: true # enable MSBuild parallel builds
74 project: build/Vulkan-Tools.sln # path to Visual Studio solution or project
75 verbosity: quiet # quiet|minimal|normal|detailed