-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
appveyor.yml
59 lines (55 loc) · 1.9 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
version: 0.3.{build}
image:
- Visual Studio 2019
- Ubuntu
for:
-
matrix:
only:
- image: Visual Studio 2019
environment:
VCPKG_DEFAULT_TRIPLET: x64-windows
VULKAN_SDK: C:/VulkanSDK/1.2.198.1
APPVEYOR_SAVE_CACHE_ON_ERROR: true
APPVEYOR_CACHE_SKIP_RESTORE: false
cache:
- VulkanSDK.exe
- c:\tools\vcpkg\installed\
- c:\VulkanSDK\
install:
- if not exist VulkanSDK.exe curl -L --show-error --output VulkanSDK.exe https://sdk.lunarg.com/sdk/download/1.2.198.1/windows/VulkanSDK-1.2.198.1-Installer.exe?Human=true && VulkanSDK.exe --accept-licenses --default-answer --confirm-command install
- vcpkg install freetype harfbuzz fontconfig glfw3 --recurse
before_build:
- git submodule update --init --recursive
- mkdir build
- cd build
- cmake -G "Visual Studio 16 2019" -DCMAKE_SYSTEM_VERSION="10.0.18362.0" -DCMAKE_BUILD_TYPE=Release -DVKVG_RECORDING=false -DGIT_SUBMODULE=true -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
build_script:
- cmake --build .
after_build:
- cd ..
- 7z a vkvg.zip build
artifacts:
- path: 'vkvg.zip'
name: vkvg
type: zip
-
matrix:
only:
- image: Ubuntu
install:
- wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
- sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-bionic.list https://packages.lunarg.com/vulkan/lunarg-vulkan-bionic.list
- sudo apt -qq update
- sudo apt -y install vulkan-sdk libharfbuzz-dev libglfw3-dev
before_build:
- git submodule update --init --recursive
- mkdir build
- cd build
- cmake ..
build_script:
- make
- cpack
after_build:
- cd ..
- appveyor PushArtifact build/vkvg_0.3.0.deb