vulkaninfo: Add VK_EXT_pci_bus_info
[platform/upstream/Vulkan-Tools.git] / .appveyor.yml
1 # Windows Build Configuration for AppVeyor
2 # http://www.appveyor.com/docs/appveyor-yml
3 #
4
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.
7
8 # build version format
9 version: "{build}"
10
11 # Free accounts have a max of 1, but ask anyway.
12 max_jobs: 4
13
14 os:
15   - Visual Studio 2013
16
17 environment:
18   PYTHON_PATH: "C:/Python35"
19   PYTHON_PACKAGE_PATH: "C:/Python35/Scripts"
20
21 branches:
22   only:
23     - master
24
25 before_build:
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
32   - cd Vulkan-Headers
33   - mkdir build
34   - cd build
35   - cmake -A %PLATFORM% -DCMAKE_INSTALL_PREFIX=install ..
36   - cmake --build . --config %CONFIGURATION% --target install -- /maxcpucount
37   # Build Vulkan-Loader
38   - echo Building Vulkan-Loader for %PLATFORM% %CONFIGURATION%
39   - cd %APPVEYOR_BUILD_FOLDER%
40   - git clone https://github.com/KhronosGroup/Vulkan-Loader.git
41   - cd Vulkan-Loader
42   - mkdir build
43   - cd build
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%
49   - mkdir build
50   - cd build
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%
53
54 platform:
55   - Win32
56   - x64
57
58 configuration:
59   - Release
60   - Debug
61
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.
65 matrix:
66   exclude:
67     - configuration: Release
68       platform: Win32
69     - configuration: Debug
70       platform: x64
71
72 build:
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