vulkaninfo: WIP: Modified for use from iOS
[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 2015
16
17 init:
18   - git config --global core.autocrlf true
19
20 environment:
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"
24
25 branches:
26   only:
27     - master
28
29 # Install desired CMake version 3.10.2 before any other building
30 install:
31   - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
32   - 7z x cmake.zip -oC:\cmake > nul
33   - set path=C:\cmake\bin;%path%
34   - cmake --version
35
36 before_build:
37   - "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%"
38   - echo Starting build for %APPVEYOR_REPO_NAME% in %APPVEYOR_BUILD_FOLDER%
39   # Build dependencies
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%
47   - mkdir build
48   - cd build
49   - cmake -A %PLATFORM% -C %APPVEYOR_BUILD_FOLDER%/external/helper.cmake ..
50   - echo Building platform=%PLATFORM% configuration=%CONFIGURATION%
51
52 platform:
53   - Win32
54   - x64
55
56 configuration:
57   - Release
58   - Debug
59
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.
63 matrix:
64   exclude:
65     - configuration: Release
66       platform: Win32
67     - configuration: Debug
68       platform: x64
69
70 build:
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