lovr/etc/appveyor.yml

56 lines
1.1 KiB
YAML

skip_branch_with_pr: true
clone_depth: 1
only_commits:
files:
- etc/
- src/
- deps/
- CMakeLists.txt
branches:
only:
- master
- dev
environment:
VULKAN_SDK: C:/VulkanSDK
cache:
- VulkanSDK.exe
install:
- if not exist VulkanSDK.exe curl -L --silent --show-error --output VulkanSDK.exe https://sdk.lunarg.com/sdk/download/1.3.216.0/windows/VulkanSDK-1.3.216.0-Installer.exe?Human=true
- VulkanSDK.exe --root C:\VulkanSDK --accept-licenses --default-answer --confirm-command install
image: Visual Studio 2022
before_build:
- cd C:\projects\lovr
- git submodule update --init
- md build
- cd build
- cmake -DCMAKE_BUILD_TYPE=%configuration% -A x64 ..
configuration: Release
build:
project: build\lovr.sln
verbosity: quiet
after_build:
- cd C:\projects\lovr
- 7z a lovr.zip C:\projects\lovr\build\Release\*.dll C:\projects\lovr\build\Release\lovr.exe
artifacts:
- path: lovr.zip
deploy:
provider: Webhook
url: https://lovr.org/nightly
on:
branch: master
authorization:
secure: zbxwiHmtJRVP9FdiqxepLdLGjxhtpjVytb+yLSqrz+8Bl1bH6k5Zts809bLrEjzn