-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
46 lines (41 loc) · 1.4 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
version: 1.0.{build}
image: Visual Studio 2022
configuration: Release
platform:
- Win32
- x64
install:
- cmd: >-
git submodule update --init --recursive
- ps: appveyor DownloadFile https://znix.xyz/random/vulkan-1.1.85.0-minisdk.7z
- ps: 7z x -olibs vulkan-1.1.85.0-minisdk.7z
before_build:
- ps: nuget restore RuntimeSwitcher/RuntimeSwitcher.csproj -PackagesDirectory packages
- ps: >-
mkdir build;
cd build
cmake .. -A $env:Platform
cd ..
build:
project: build/OpenComposite.sln
verbosity: minimal
on_success:
- ps: >-
if ($env:PLATFORM -eq "x64") {
Push-AppveyorArtifact "build/bin/$env:Configuration/vrclient_x64.dll" -FileName "$env:Platform/openvr_api.dll"
}
else {
Push-AppveyorArtifact "build/bin/$env:Configuration/vrclient.dll" -FileName "$env:Platform/openvr_api.dll"
}
7z a OpenComposite.zip "RuntimeSwitcher/bin/$env:Configuration"
7z rn OpenComposite.zip "RuntimeSwitcher/bin/$env:Configuration" "OpenComposite"
Push-AppveyorArtifact "OpenComposite.zip"
notifications:
- provider: Webhook
url: https://opencomposite.znix.xyz/builds/webhook/upload_build
on_build_success: true
on_build_failure: true
on_build_status_changed: false
headers:
X-BuildTrack-Auth:
secure: Oy+fUhSRCERHsIiOOOLNWCp94RJHpKn7djIn8x2qm/aouJg7GZEkNShPG7p7D1opokkKRumnH/+TjeasJ+LzLiHSgyxhSdwXaX5dMGMdkkk=