forked from KhronosGroup/Vulkan-Loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
65 lines (54 loc) · 1.93 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Windows Build Configuration for AppVeyor
# http://www.appveyor.com/docs/appveyor-yml
#
# This version starts a separte job for each platform config
# in order to get around the AppVeyor limit of 60 mins per job.
# build version format
version: "{build}"
# Free accounts have a max of 1, but ask anyway.
max_jobs: 4
environment:
matrix:
- PLATFORM: x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
PYTHON_PATH: "C:/Python35"
PYTHON_PACKAGE_PATH: "C:/Python35/Scripts"
CMAKE_URL: "http://cmake.org/files/v3.10/cmake-3.10.2-win64-x64.zip"
configuration:
- Release
branches:
only:
- sdk-1.2.135
install:
- appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
- 7z x cmake.zip -oC:\cmake > nul
- set path=C:\cmake\bin;%path%
- cmake --version
before_build:
- "SET PATH=C:\\Python35;C:\\Python35\\Scripts;%PATH%"
- "SET VULKAN_HEADERS_INSTALL_DIR=C:\\projects\\vulkan-loader\\external\\Vulkan-Headers\\build\\install"
- echo.
- echo Starting build for %APPVEYOR_REPO_NAME%
# Install dependencies
- python scripts/update_deps.py --dir=external
# Get Google Test
- git clone https://github.com/google/googletest.git external/googletest
- cd external/googletest
- git checkout tags/release-1.8.1
- cd %APPVEYOR_BUILD_FOLDER%
# Verify consistency between source file generators and output
- echo Verifying consistency between source file generators and output
- python scripts/generate_source.py --verify external/Vulkan-Headers/registry
# Generate build files using CMake for the build step.
- echo Generating CMake files for %PLATFORM%
- mkdir build
- cd build
- cmake -A %PLATFORM% ..
- echo Building platform=%PLATFORM% configuration=%CONFIGURATION%
build:
parallel: true # enable MSBuild parallel builds
project: build/Vulkan-Loader.sln # path to Visual Studio solution or project
artifacts:
- path: build
name: VKLoader_250520_%PLATFORM%
type: zip