-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
95 lines (76 loc) · 2.15 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#
# DEVELOPMENT BRANCH
#
# build in Debug mode and deploy to MyGet.org as pre-release
- branches:
only:
- develop
skip_tags: true
configuration: Debug
platform: Any CPU
artifacts:
- path: src\build\Debug
- path: src\build\nuget\*.nupkg
cache:
- src\packages -> src\**\packages.config
before_build:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.2.0/nuget.exe
- nuget restore "src\Radical.Windows.Presentation.sln"
build:
project: src\Radical.Windows.Presentation.sln
verbosity: minimal
after_build:
- md "src\build\nuget"
- nuget pack "src\nuget\Radical.Windows.Presentation.nuspec" -Version "%GitVersion_NuGetVersion%" -Properties "configuration=%CONFIGURATION%" -OutputDirectory "src\build\nuget"
test:
categories:
except:
- ObjectDumper
- AsyncWorker
deploy:
- provider: Environment
name: MyGet feed
on:
branch: develop
#
# MASTER BRANCH
#
# build in Release mode and deploy to NuGet.org
- branches:
only:
- master
skip_tags: true
configuration: Release
platform: Any CPU
artifacts:
- path: src\build\Release
- path: src\build\nuget\*.nupkg
cache:
- src\packages -> src\**\packages.config
before_build:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/v3.2.0/nuget.exe
- nuget restore "src\Radical.Windows.Presentation.sln"
build:
project: src\Radical.Windows.Presentation.sln
verbosity: minimal
after_build:
- md "src\build\nuget"
- nuget pack "src\nuget\Radical.Windows.Presentation.nuspec" -Version "%GitVersion_NuGetVersion%" -Properties "configuration=%CONFIGURATION%" -OutputDirectory "src\build\nuget"
test:
categories:
except:
- ObjectDumper
- AsyncWorker
deploy:
- provider: Environment
name: NuGet public feed
on:
branch: master
- provider: GitHub
release: $(GitVersion_NuGetVersion)
description: 'Release v$(GitVersion_NuGetVersion)'
auth_token:
secure: 2ijF4OfPYfIUTunubL/Z04ogADL9sx/gKW1jMRNJnAa1OpHZpSvCKmP0gvNs8C7h
artifact: /.*\.nupkg/, src\build\Release.zip
on:
branch: master