-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
37 lines (32 loc) · 1.09 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
version: 1.0.{build}
image: Visual Studio 2017
configuration: Release
platform:
- Win32
- x64
install:
- ps: appveyor DownloadFile https://znix.xyz/random/ovr_sdk_win_1.26.0_public_nosamples.7z
- ps: appveyor DownloadFile https://znix.xyz/random/vulkan-1.1.85.0-minisdk.7z
- ps: 7z x -olibs/libovr ovr_sdk_win_1.26.0_public_nosamples.7z
- ps: 7z x -olibs vulkan-1.1.85.0-minisdk.7z
- ps: ./configure.cmd
before_build:
- ps: nuget restore RuntimeSwitcher/packages.config -PackagesDirectory packages
- ps: >-
mkdir build;
cd build
If ($env:Platform -Match "x64") {
cmake .. -G "Visual Studio 15 2017 Win64"
} Else {
cmake .. -G "Visual Studio 15 2017"
}
cd ..
build:
project: build/OpenComposite.sln
verbosity: minimal
on_success:
- ps: >-
Push-AppveyorArtifact "build/$env:Configuration/OCOVR.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"