forked from tpolyak/Sharp-Architecture
-
Notifications
You must be signed in to change notification settings - Fork 152
/
Copy pathappveyor.yml
102 lines (78 loc) · 2.09 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
96
97
98
99
100
101
version: .{build}
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
image:
- Ubuntu
- Visual Studio 2022
environment:
CAKE_SETTINGS_SKIPVERIFICATION: true
CAKE_SETTINGS_SKIPPACKAGEVERSIONCHECK: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
install:
- ps: ./mssql-setup.ps1
- ps: dotnet new tool-manifest
- ps: dotnet tool install Cake.Tool --version 1.3.0
build_script:
- ps: dotnet cake
test: off
matrix:
fast_finish: true
for:
# Linux build
-
matrix:
except:
- image: Visual Studio 2022
clone_folder: ~/work/sharp-arch
install:
- sh: touch ./Src/Common/AssemblyVersion.cs
- sh: dotnet new tool-manifest
build_script:
- sh: dotnet test ./Src -c Release --test-adapter-path . --logger AppVeyor
# Windows build
-
matrix:
only:
- image: Visual Studio 2022
clone_folder: c:\work\sharp-arch
services:
- mssql2017
cache:
- c:\tmp\cake\tools -> appveyor.yml
environment:
coveralls_repo_token:
secure: FgZlD1O2ilcGB6nF7cIgNcF6f8wWJk//ish6EG800QfuMd0y3BQWUXkl9u7TB4yG
appveyor_cache_entry_zip_args: -t7z -m0=lzma -mx=5 -ms=on
CAKE_PATHS_TOOLS: c:\tmp\cake\tools\
GITHUB_TOKEN:
secure: FgP/dEF7lumDgbjt3tzPSDqDTM16uoiPfKZPQSLJO+/GaIR2zSquSh0pXP8znx+c
artifacts:
- path: Drops/Packages/*.nupkg
name: NuGet packages
- path: Drops/Packages/*.snupkg
name: NuGet symbol packages
type: NuGetPackage
# - path: Drops/Inspections/CodeDuplicates.html
# name: CodeDuplicates
# - path: Drops/Inspections/CodeInspections.html
# name: CodeInspections
deploy:
- provider: NuGet
name: Pre-release
api_key:
secure: kvGBJqOLM4uyxv3IVpAC9ZjMSPaL0bnvAXJeK0t1TbL3wpBa7raxKLETd4px1/LY
on:
branch:
- develop
- /release\/v.*/
- /releases.*/
- /hotfixes.*/
- provider: NuGet
name: Tagged release
api_key:
secure: kvGBJqOLM4uyxv3IVpAC9ZjMSPaL0bnvAXJeK0t1TbL3wpBa7raxKLETd4px1/LY
on:
appveyor_repo_tag: true