forked from tpolyak/Sharp-Architecture
-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathappveyor.yml
More file actions
107 lines (84 loc) · 2.42 KB
/
Copy pathappveyor.yml
File metadata and controls
107 lines (84 loc) · 2.42 KB
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
102
103
104
105
106
107
version: .{build}
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
image:
- Ubuntu2204
- Visual Studio 2022
environment:
CAKE_SETTINGS_SKIPVERIFICATION: true
CAKE_SETTINGS_SKIPPACKAGEVERSIONCHECK: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_TERMINAL_LOGGER: false
DOTNET_NOLOGO: true
test: off
matrix:
fast_finish: true
for:
# Linux build
-
matrix:
only:
- image: Ubuntu2204
clone_folder: ~/work/sharp-arch
install:
- sh: dotnet --info
- sh: touch ./Src/Common/AssemblyVersion.cs
- sh: dotnet new tool-manifest
build_script:
- sh: cd Src
- sh: dotnet build -c Release --tl:off
- sh: dotnet test --no-build --tl:off -c Release --filter "Category!=IntegrationTests&Category!=Functional" --test-adapter-path . --logger AppVeyor --verbosity quiet
# Windows build
-
matrix:
only:
- image: Visual Studio 2022
clone_folder: c:\work\sharp-arch
cache:
- c:\tmp\cake\tools -> build\*.cake, appveyor.yml
services:
- mssql2019
install:
- ps: dotnet --info
- ps: ./mssql-setup.ps1
- ps: dotnet tool install Cake.Tool --version 4.0.0 --global
- ps: dotnet tool install coveralls.net --version 4.0.1 --global
build_script:
- ps: dotnet cake
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: 21bpvob1W59q2H3tgdQ4c6pkZVzTTZTTWUNkkLJ/1bo2xY4K160RtHw08cBRsQOd
artifacts:
- path: artifacts/packages/*.nupkg
name: NuGet packages
- path: artifacts/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: 3MLL8jGZWxrvQwmtAMhYjf2fTh9lpieblFBZSVxm2SGCuuTxRyIxKN8fxLByxvWm
on:
branch:
- develop
- /release\/v.*/
- /releases?\/.*/
- /hotfix(?:es)?\/.*/
- provider: NuGet
name: Tagged release
api_key:
secure: 3MLL8jGZWxrvQwmtAMhYjf2fTh9lpieblFBZSVxm2SGCuuTxRyIxKN8fxLByxvWm
on:
appveyor_repo_tag: true