-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
43 lines (38 loc) · 1.29 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
version: 1.0.{build}
image: Visual Studio 2017
configuration:
- Debug
- Release
platform: x64
clone_folder: "c:\\UnicornEngine"
environment:
VULKAN_SDK: "c:\\VulkanSDK\\1.0.65.1\\"
init:
- 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
install:
- 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\\Unicorn.sln"
parallel: true
verbosity: minimal
test_script:
- cd %APPVEYOR_BUILD_FOLDER%/build
- ctest -VV -C %CONFIGURATION%
notifications:
- provider: Email
to:
- nikita.krupitskas@gmail.com
- odintsoff@gmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: true