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"
21 # Cache the external directory to improve build times.
22 # If the appveyor config file changes, invalidate the cache.
24 - external -> .appveyor.yml
31 - "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%"
33 - echo Starting build for %APPVEYOR_REPO_NAME%
34 - echo Update external sources
35 - if %PLATFORM% == Win32 (if %CONFIGURATION% == Debug (update_external_sources.bat --32 --debug))
36 - if %PLATFORM% == Win32 (if %CONFIGURATION% == Release (update_external_sources.bat --32 --release))
37 - if %PLATFORM% == x64 (if %CONFIGURATION% == Debug (update_external_sources.bat --64 --debug))
38 - if %PLATFORM% == x64 (if %CONFIGURATION% == Release (update_external_sources.bat --64 --release))
39 # Determine the appropriate CMake generator for the current version of Visual Studio
40 - echo Determining VS version
41 - python .\scripts\determine_vs_version.py > vsversion.tmp
42 - set /p VS_VERSION=< vsversion.tmp
43 - echo Detected Visual Studio Version as %VS_VERSION%
44 - del /Q /F vsversion.tmp
45 - if %PLATFORM% == Win32 (set GENERATOR="Visual Studio %VS_VERSION%")
46 - if %PLATFORM% == x64 (set GENERATOR="Visual Studio %VS_VERSION% Win64")
47 # Generate build files using CMake for the build step.
48 - echo Generating CMake files for %GENERATOR%
52 - cmake -G %GENERATOR% ..
53 - echo Building platform=%PLATFORM% configuration=%CONFIGURATION%
64 parallel: true # enable MSBuild parallel builds
65 project: build/VULKAN.sln # path to Visual Studio solution or project
66 verbosity: quiet # quiet|minimal|normal|detailed