-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
38 lines (37 loc) · 1.28 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
version: '{build}'
branches:
only:
- master
skip_tags: true
image: Visual Studio 2017
platform: x64
configuration: Release
init:
- git config --global core.autocrlf true
install:
# - ps: Get-ChildItem "dependencies" -Recurse | Remove-Item
# - ps: Get-ChildItem "build_msvc" -Recurse | Remove-Item
- ps: (Get-Content CMakeLists.txt).replace("[email protected]:","https://github.com/") | Set-Content CMakeLists.txt
- ps: md installs
- ps: cd installs
- ps: Start-FileDownload "https://sdk.lunarg.com/sdk/download/1.1.73.0/windows/VulkanSDK-1.1.73.0-Installer.exe" "VulkanSDK.exe"
- ps: Start-Process -FilePath "VulkanSDK.exe" /S -Wait
- ps: cd ..
environment:
VK_SDK_PATH: "C:/VulkanSDK/1.1.73.0"
before_build:
- cmake -G "Visual Studio 15 2017 Win64" -Bbuild_msvc -H. -DBUILD_FOLDER_SUFFIX:STRING=build_msvc
build_script:
- ps: msbuild build_msvc/ViewerSdl.sln /t:ViewerSdl /p:Configuration="Release"
# - ps: cd dependencies/shaderc
# - ps: python.exe utils/git-sync-deps
# - ps: cd ../..
# - ps: msbuild build_msvc/Viewer.sln /t:ShaderPipeline /p:Configuration="Release"
notifications:
- provider: Email
to:
subject: Viewer build {{buildVersion}} - {{status}}
on_build_success: false
on_build_failure: true
on_build_status_changed: true