-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathappveyor.yml
81 lines (54 loc) · 1.61 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: 1.0.{build}
image:
- Visual Studio 2022
branches:
only:
- develop
configuration: Release
platform:
- Win32
- x64
init:
- ps:
install:
- ps: >-
echo "Installing $env:APPVEYOR_REPO_BRANCH..."
md -Path "..\Objectively"
Push-Location "..\Objectively\"
[Environment]::CurrentDirectory = $PWD
(New-Object System.Net.WebClient).DownloadFile("https://ci.appveyor.com/api/projects/Paril/objectively/artifacts/__dep.zip?job=Platform%3A+" + $env:PLATFORM, "tmp.zip")
7z x tmp.zip -aos "*"
Remove-Item "tmp.*"
Pop-Location
[Environment]::CurrentDirectory = $PWD
md -Path "..\ObjectivelyMVC"
Push-Location "..\ObjectivelyMVC\"
[Environment]::CurrentDirectory = $PWD
(New-Object System.Net.WebClient).DownloadFile("https://ci.appveyor.com/api/projects/Paril/objectivelymvc/artifacts/__dep.zip?job=Platform%3A+" + $env:PLATFORM, "tmp.zip")
7z x tmp.zip -aos "*"
Remove-Item "tmp.*"
Pop-Location
[Environment]::CurrentDirectory = $PWD
build:
parallel: false
verbosity: minimal
project: Quetoo.vs15\quetoo.sln
before_build:
- ps: >-
echo "Building $env:APPVEYOR_REPO_BRANCH..."
Push-Location "Quetoo.vs15\"
[Environment]::CurrentDirectory = $PWD
.\VERSION.ps1
Pop-Location
[Environment]::CurrentDirectory = $PWD
test: off
on_success:
- ps: >-
echo "Success; AWSing $env:APPVEYOR_REPO_BRANCH..."
Push-Location "Quetoo.vs15\"
[Environment]::CurrentDirectory = $PWD
Remove-Item .\Quetoo\* -include *.exp,*.lib,*.ilk -recurse
.\AWS.ps1
Pop-Location
[Environment]::CurrentDirectory = $PWD
deploy: off