forked from flingengine/FlingEngine
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
53 lines (44 loc) · 1.39 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
# build version format
version: '{build}'
# Free accounts have a max of 1, but ask anyway.
max_jobs: 4
# Any VSVisual studio version we want
image:
- Visual Studio 2022
- Visual Studio 2019
configuration:
- Debug
- Release
# Enviornment variable matrix
environment:
matrix:
- DDEFINE_SHIPPING: 0
- DDEFINE_SHIPPING: 1
cache:
- VulkanSDK.exe
# We only care about x64 for right now
platform:
- x64
# If we had a specific CMake version we wanted
# this is the place to add it
install:
# Vulkan SDK Setup
- echo Downloading Vulkan SDK platform=%PLATFORM% configuration=%CONFIGURATION%
- if not exist VulkanSDK.exe curl -L --silent --show-error --output VulkanSDK.exe https://sdk.lunarg.com/sdk/download/1.3.211.0/windows/VulkanSDK-1.3.211.0-Installer.exe?Human=true
- VulkanSDK.exe /S
# Build Fling
- cmake --version
- echo Generating platform=%PLATFORM% configuration=%CONFIGURATION%
- cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
- mkdir build
- cd build
- cmake .. -A %PLATFORM% -DENABLE_MULTICORE=OFF
- dir
- echo Building platform=%PLATFORM% configuration=%CONFIGURATION%
before_build:
- ps: $env:VULKAN_SDK="C:/VulkanSDK/1.3.211.0"
build:
parallel: true # enable MSBuild parallel builds
project: build/FlingEngine.sln # path to Visual Studio solution or project
verbosity: normal # quiet|minimal|normal|detailed