-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
64 lines (48 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
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: '{build}'
# Do not increment build number for pull requests (GitHub only)
pull_requests:
do_not_increment_build_number: true
# disable publishing of .nupkg artifacts to
# account/project feeds for pull request builds
nuget:
disable_publish_on_pr: true
# branches to build
branches:
only:
- master
#---------------------------------#
# environment configuration #
#---------------------------------#
cache:
- packages
#---------------------------------#
# build configuration #
#---------------------------------#
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform: Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Release
os: Visual Studio 2019
before_build:
- dotnet --info
- dotnet restore
build:
parallel: true # enable MSBuild parallel builds
project: DotNetToolkit.Wpf.sln # path to Visual Studio solution or project
after_build:
- dotnet pack .\src\DotNetToolkit.Wpf\DotNetToolkit.Wpf.csproj --configuration Release
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: '**\DotNetToolkit.Wpf.*.nupkg' # find all NuGet packages recursively
name: NuGet
#---------------------------------#
# tests configuration #
#---------------------------------#
test_script:
- dotnet test .\test\DotNetToolkit.Wpf.Test\DotNetToolkit.Wpf.Test.csproj --configuration Release