-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathappveyor.yml
69 lines (58 loc) · 1.47 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
version: '{build}'
image:
- macOS
- Ubuntu
- Visual Studio 2022
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
- /v\d*\.\d*\.\d*/
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
nuget:
disable_publish_on_pr: true
environment:
# Disable the .NET logo in the console output.
DOTNET_NOLOGO: true
# Disable the .NET first time experience to skip caching NuGet packages and speed up the build.
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# Disable sending .NET CLI telemetry to Microsoft.
DOTNET_CLI_TELEMETRY_OPTOUT: true
APPVEYOR_YML_DISABLE_PS_LINUX: true
before_build:
# Display .NET Core version
- cmd: dotnet --version
- cmd: chmod +x build.sh
build_script:
- ps: .\Build.ps1
- sh: ./build.sh
test: off
artifacts:
- name: NuGet Packages
path: ./artifacts/**/*.nupkg
- name: NuGet Symbol Packages
path: ./artifacts/**/*.snupkg
- name: xUnit XML Test Results
path: ./artifacts/**/*.xml
- name: xUnit HTML Test Results
path: ./artifacts/**/*.html
for:
-
matrix:
only:
- image: Ubuntu
deploy:
- provider: NuGet
api_key:
secure: 6JVLOhLqg0PBXEb5Ug98vPgKtXLSChdqZPol4ZB6bS5i4YeL58qPWucrVhoZobnL
on:
branch: master
- provider: NuGet
name: production
api_key:
secure: 6JVLOhLqg0PBXEb5Ug98vPgKtXLSChdqZPol4ZB6bS5i4YeL58qPWucrVhoZobnL
on:
APPVEYOR_REPO_TAG: true