-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
71 lines (57 loc) · 1.64 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
66
67
68
69
70
71
version: "#{build}"
image: Visual Studio 2017
branches:
only:
- master
skip_tags: true
configuration:
- Debug
- Release
platform:
- Win32
- x64
clone_folder: "c:\\Sleipnir"
environment:
VULKAN_SDK: "c:\\VulkanSDK\\1.0.65.1\\"
install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- appveyor DownloadFile https://www.dropbox.com/s/2zwzd7vy1dy2309/VulkanSDK-1.0.65.1-Installer.exe?dl=1 -FileName vulkan-installer.exe
- vulkan-installer.exe /S
- rm -f vulkan-installer.exe
before_build:
- git submodule update --init --recursive
- mkdir build
- cd build
- if "%platform%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017
- if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017 Win64
- if "%configuration%"=="Debug" set CMAKE_BUILD_TYPE=Debug
- if "%configuration%"=="Release" set CMAKE_BUILD_TYPE=Release
- cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE="%CMAKE_BUILD_TYPE%" ..
build:
project: "build\\Sleipnir.sln"
parallel: true
verbosity: minimal
after_build:
- cpack -C %configuration%
artifacts:
- path: "build\\Sleipnir-*.exe"
name: "Sleipnir Setup"
notifications:
- provider: Email
to:
on_build_success: false
on_build_failure: true
on_build_status_changed: true
before_deploy:
- set /p SLEIPNIR_VERSION=<version
deploy:
release: v$(SLEIPNIR_VERSION).$(APPVEYOR_BUILD_NUMBER)
provider: GitHub
auth_token:
secure: OHXqodAtK8hZbNdRS8FOuG5WbdchfvTa9xG4yk4QFwf1zBK/qgpJODgeN6ShF4bF
artifact: /Sleipnir-.*\.exe/
draft: false
prerelease: true
on:
branch: master