-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.appveyor.yml
49 lines (39 loc) · 1.35 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
version: 0.2.0[{build}]
clone_depth: 1
branches:
only:
- master
- dev
cache:
- c:\usr
- c:\tools\vcpkg\installed\
image: Visual Studio 2017
platform:
- x64
configuration:
- Debug
- Release
environment:
VULKAN_SDK: C:\VulkanSDK\1.2.135.0
matrix:
- CMAKE_VS_VERSION: "15 2017"
install:
- curl -L --silent --show-error --output VulkanSDK.exe https://vulkan.lunarg.com/sdk/download/1.2.135.0/windows/VulkanSDK-1.2.135.0-Installer.exe?Human=true
- .\VulkanSDK.exe /S
- appveyor DownloadFile https://github.com/KhronosGroup/glslang/releases/download/master-tot/glslang-master-windows-x64-Release.zip -FileName glslangvalidator.zip
- unzip glslangvalidator.zip
- set PATH=%APPVEYOR_BUILD_FOLDER%\bin;%PATH%
- cd C:\Tools\vcpkg
- git pull
- .\bootstrap-vcpkg.bat
- cd %APPVEYOR_BUILD_FOLDER%
- vcpkg --disable-metrics install capnproto:%platform%-windows
- cd C:\Tools\vcpkg
- vcpkg --disable-metrics integrate install
- cd %APPVEYOR_BUILD_FOLDER%
before_build:
- git submodule -q update --init --recursive
- cmake -DCMAKE_PREFIX_PATH=C:/Tools/vcpkg/packages/capnproto_%platform%-windows/ -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake -A x64 -DSTANDALONE=ON -DCMAKE_BUILD_TYPE=%configuration% -G "Visual Studio %CMAKE_VS_VERSION%"
build_script:
project: ALL_BUILD.vcxproj
verbosity: minimal