forked from thecodrr/BreadPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
67 lines (50 loc) · 2.18 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
version: 2.0.{build}
pull_requests:
do_not_increment_build_number: true
os: Visual Studio 2017
configuration:
- FastBuild_Release
platform: x86
before_build:
- ps: >-
nuget restore BreadPlayer.NoTests.sln
Write-Host "Installing Microsoft Store Services SDK..."
$msiPath = "$($env:USERPROFILE)\MicrosoftStoreServicesSDK.msi"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/229b7858-2c6a-4073-886e-cbb79e851211/file/206533/6/MicrosoftStoreServicesSDK.msi', $msiPath)
cmd /c start /wait msiexec /i $msiPath /quiet
Write-Host "Installed" -ForegroundColor green
Write-Host "Installing Microsoft Advertising SDK..."
$msiPath = "$($env:USERPROFILE)\MicrosoftAdvertisingSDK.msi"
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/345ed584-cc35-4ff0-bbcf-25b31515ae8d/file/258419/5/MicrosoftAdvertisingSDK.msi', $msiPath)
cmd /c start /wait msiexec /i $msiPath /quiet
Write-Host "Installed" -ForegroundColor green
build:
project: BreadPlayer.NoTests.sln
parallel: true
verbosity: minimal
environment:
UseTemporarySignCert: True
after_build:
- cmd: 7z a BreadPlayer.zip %APPVEYOR_BUILD_FOLDER%\BreadPlayer.Views.UWP\AppPackages\BreadPlayer.Views.UWP_2.7.0.0_FastBuild_Release_Test\*
artifacts:
- path: BreadPlayer.zip
name: BreadPlayer App Package
type: Auto
- path: BreadPlayer.Views.UWP\bin\x86\Release\x64\BreadPlayer.Views.UWP\BreadPlayer.Views.UWP_2.7.0.0_x64_FastBuild_Release.appx
name: BreadPlayer x64 APPX Package
type: Auto
- path: BreadPlayer.Views.UWP\bin\x86\Release\BreadPlayer.Views.UWP_2.7.0.0_x86_FastBuild_Release.appx
name: BreadPlayer X86 APPX Package
type: Auto
- path: BreadPlayer.Views.UWP\bin\x86\Release\arm\BreadPlayer.Views.UWP\BreadPlayer.Views.UWP_2.7.0.0_ARM_FastBuild_Release.appx
name: BreadPlayer ARM APPX Package
type: Auto
- path: '**\*.cer'
name: BreadPlayer Certificate
type: Auto
- path: '**\*.appxbundle'
name: BreadPlayer AppXBundle
type: Auto
- path: BreadPlayer.Views.UWP\AppPackages\BreadPlayer.Views.UWP_2.7.0.0_FastBuild_Release_Test\Dependencies
name: BreadPlayer Dependencies
type: Auto