Skip to content
This repository was archived by the owner on Apr 6, 2024. It is now read-only.

Commit 9d23879

Browse files
committed
Merge branch 'release/0.9.0'
2 parents bdb7873 + deb1378 commit 9d23879

File tree

163 files changed

+9989
-2898
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+9989
-2898
lines changed

.appveyor.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
#---------------------------------#
44
image: Visual Studio 2019
55

6+
environment:
7+
MYGET_SOURCE:
8+
69
#---------------------------------#
710
# Build Script #
811
#---------------------------------#
@@ -11,7 +14,11 @@ install:
1114
- ps: nuget update -self
1215

1316
build_script:
14-
- ps: .\build.ps1 -Target AppVeyor
17+
- ps: .\build.ps1 -Target CI
18+
19+
# Tests
20+
test_script:
21+
- ps: .\demos\build.ps1
1522

1623
# Tests
1724
test: off

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,4 +276,7 @@ __pycache__/
276276
# Cake - Uncomment if you are using it
277277
tools/**
278278
!tools/packages.config
279-
BuildArtifacts/
279+
BuildArtifacts/
280+
281+
.dotnet/
282+
.DS_Store

LICENSE

Lines changed: 489 additions & 1 deletion
Large diffs are not rendered by default.

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,18 @@ and for general information about the Cake build automation system see the [Cake
1515
|GitHub Release|-|[![GitHub release](https://img.shields.io/github/release/cake-contrib/Cake.Issues.Reporting.Generic.svg)](https://github.com/cake-contrib/Cake.Issues.Reporting.Generic/releases/latest)|
1616
|NuGet|[![NuGet](https://img.shields.io/nuget/v/Cake.Issues.Reporting.Generic.svg)](https://www.nuget.org/packages/Cake.Issues.Reporting.Generic)|[![NuGet](https://img.shields.io/nuget/vpre/Cake.Issues.Reporting.Generic.svg)](https://www.nuget.org/packages/Cake.Issues.Reporting.Generic)|
1717

18-
## Build Status
18+
## Build & Test Status
1919

2020
| | Develop | Master |
2121
|:--:|:--:|:--:|
2222
|AppVeyor Windows|[![Build status](https://ci.appveyor.com/api/projects/status/by753fqt03g301iy/branch/develop?svg=true)](https://ci.appveyor.com/project/cakecontrib/cake-issues-reporting-generic/branch/develop)|[![Build status](https://ci.appveyor.com/api/projects/status/by753fqt03g301iy/branch/master?svg=true)](https://ci.appveyor.com/project/cakecontrib/cake-issues-reporting-generic/branch/master)|
23-
|Azure DevOps Windows|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=develop&jobName=Windows)](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=master&jobName=Windows)](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=master)|
23+
|Azure DevOps Windows|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=develop&jobName=Build)](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=master&jobName=Build)](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=master)|
24+
|Integration Tests Windows (.NET Framework)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=develop&jobName=Integration%20Tests%20Windows%20(.NET%20Framework))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=master&jobName=Integration%20Tests%20Windows%20(.NET%20Framework))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=master)|
25+
|Integration Tests Windows (.NET Core tool)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=develop&jobName=Integration%20Tests%20Windows%20(.NET%20Core%20tool))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=master&jobName=Integration%20Tests%20Windows%20(.NET%20Core%20tool))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=master)|
26+
|Integration Tests macOS 10.14 (Mono)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=develop&jobName=Integration%20Tests%20macOS%2010.14%20(Mono))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=master&jobName=Integration%20Tests%20macOS%2010.14%20(Mono))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=master)|
27+
|Integration Tests macOS 10.15 (.NET Core tool)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=develop&jobName=Integration%20Tests%20macOS%2010.15%20(.NET%20Core%20tool))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=master&jobName=Integration%20Tests%20macOS%2010.15%20(.NET%20Core%20tool))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=master)|
28+
|Integration Tests Ubuntu 16.04 (Mono)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=develop&jobName=Integration%20Tests%20Ubuntu%2016.04%20(Mono))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=master&jobName=Integration%20Tests%20Ubuntu%2016.04%20(Mono))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=master)|
29+
|Integration Ubuntu 16.04 (.NET Core tool)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=develop&jobName=Integration%20Tests%20Ubuntu%2016.04%20(.NET%20Core%20tool))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Generic?branchName=master&jobName=Integration%20Tests%20Ubuntu%2016.04%20(.NET%20Core%20tool))](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Generic/_build/latest?definitionId=15&branchName=master)|
2430

2531
## Code Coverage
2632

azure-pipelines.yml

Lines changed: 192 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,199 @@ pr:
1010
- hotfix/*
1111

1212
jobs:
13-
- job: Windows
13+
# Build
14+
- job: Build
1415
pool:
1516
vmImage: 'windows-2019'
1617
steps:
1718
- powershell: ./build.ps1
18-
displayName: 'Cake Build'
19+
displayName: 'Build'
20+
- publish: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
21+
artifact: NuGet Package
22+
displayName: 'Publish NuGet package as build artifact'
23+
# Integration Tests Windows (.NET Framework)
24+
- job: Test_Windows_DotNetFramework
25+
displayName: 'Integration Tests Windows (.NET Framework)'
26+
dependsOn: Build
27+
pool:
28+
vmImage: 'windows-2019'
29+
steps:
30+
- task: NodeTool@0
31+
inputs:
32+
versionSpec: '14.x'
33+
displayName: 'Install NodeJs 14.x'
34+
- powershell: choco install markdownlint-cli --no-progress
35+
displayName: 'Install required tools'
36+
- download: current
37+
artifact: NuGet Package
38+
displayName: 'Download build artifact'
39+
- task: CopyFiles@2
40+
inputs:
41+
sourceFolder: $(Pipeline.Workspace)/NuGet Package
42+
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
43+
displayName: 'Copy build artifact for test run'
44+
- powershell: ./build.ps1 -verbosity diagnostic
45+
workingDirectory: ./demos/
46+
displayName: 'Run integration tests'
47+
- publish: $(Build.SourcesDirectory)/docs/templates
48+
artifact: Integration Tests Windows (.NET Framework)
49+
displayName: 'Publish generated reports as build artifact'
50+
# Integration Tests Windows (.NET Core tool)
51+
- job: Test_Windows_DotNetCoreTool
52+
displayName: Integration Tests Windows (.NET Core tool)
53+
dependsOn: Build
54+
pool:
55+
vmImage: 'windows-2019'
56+
steps:
57+
- task: NodeTool@0
58+
inputs:
59+
versionSpec: '14.x'
60+
displayName: 'Install NodeJs 14.x'
61+
- powershell: choco install markdownlint-cli --no-progress
62+
displayName: 'Install required tools'
63+
- download: current
64+
artifact: NuGet Package
65+
displayName: 'Download build artifact'
66+
- task: CopyFiles@2
67+
inputs:
68+
sourceFolder: $(Pipeline.Workspace)/NuGet Package
69+
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
70+
displayName: 'Copy build artifact for test run'
71+
- powershell: dotnet tool restore
72+
workingDirectory: ./demos/
73+
displayName: 'Restore .NET Core tool'
74+
- powershell: dotnet cake
75+
workingDirectory: ./demos/
76+
displayName: 'Run integration tests'
77+
- publish: $(Build.SourcesDirectory)/docs/templates
78+
artifact: Integration Tests Windows (.NET Core tool)
79+
displayName: 'Publish generated reports as build artifact'
80+
# Integration Tests macOS 10.14 (Mono)
81+
- job: Test_macOS_Mono
82+
displayName: 'Integration Tests macOS 10.14 (Mono)'
83+
dependsOn: Build
84+
pool:
85+
vmImage: 'macOS-10.14'
86+
steps:
87+
- task: NodeTool@0
88+
inputs:
89+
versionSpec: '14.x'
90+
displayName: 'Install NodeJs 14.x'
91+
- bash: |
92+
npm install -g markdownlint-cli
93+
displayName: 'Install required tools'
94+
# To manually select a Xamarin SDK version on the Hosted macOS agent, enable this script with the SDK version you want to target
95+
# https://go.microsoft.com/fwlink/?linkid=871629
96+
- bash: |
97+
sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1
98+
displayName: 'Select Mono 5.18.1'
99+
- download: current
100+
artifact: NuGet Package
101+
displayName: 'Download build artifact'
102+
- task: CopyFiles@2
103+
inputs:
104+
sourceFolder: $(Pipeline.Workspace)/NuGet Package
105+
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
106+
displayName: 'Copy build artifact for test run'
107+
- bash: |
108+
./build.sh --verbosity diagnostic
109+
workingDirectory: ./demos/
110+
displayName: 'Run integration tests'
111+
- publish: $(Build.SourcesDirectory)/docs/templates
112+
artifact: Integration Tests macOS 10.14 (Mono)
113+
displayName: 'Publish generated reports as build artifact'
114+
# Integration Tests macOS 10.15 (.NET Core tool)
115+
- job: Test_macOS_DotNetCoreTool
116+
displayName: Integration Tests macOS 10.15 (.NET Core tool)
117+
dependsOn: Build
118+
pool:
119+
vmImage: 'macOS-10.15'
120+
steps:
121+
- task: NodeTool@0
122+
inputs:
123+
versionSpec: '14.x'
124+
displayName: 'Install NodeJs 14.x'
125+
- bash: |
126+
npm install -g markdownlint-cli
127+
displayName: 'Install required tools'
128+
- download: current
129+
artifact: NuGet Package
130+
displayName: 'Download build artifact'
131+
- task: CopyFiles@2
132+
inputs:
133+
sourceFolder: $(Pipeline.Workspace)/NuGet Package
134+
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
135+
displayName: 'Copy build artifact for test run'
136+
- bash: |
137+
dotnet tool restore
138+
workingDirectory: ./demos/
139+
displayName: 'Restore .NET Core tool'
140+
- bash: |
141+
dotnet cake
142+
workingDirectory: ./demos/
143+
displayName: 'Run integration tests'
144+
- publish: $(Build.SourcesDirectory)/docs/templates
145+
artifact: Integration Tests macOS 10.15 (.NET Core tool)
146+
displayName: 'Publish generated reports as build artifact'
147+
# Integration Tests Ubuntu 16.04 (Mono)
148+
- job: Test_ubuntu_Mono
149+
displayName: 'Integration Tests Ubuntu 16.04 (Mono)'
150+
dependsOn: Build
151+
pool:
152+
vmImage: 'ubuntu-16.04'
153+
steps:
154+
- task: NodeTool@0
155+
inputs:
156+
versionSpec: '14.x'
157+
displayName: 'Install NodeJs 14.x'
158+
- bash: |
159+
npm install -g markdownlint-cli
160+
displayName: 'Install required tools'
161+
- download: current
162+
artifact: NuGet Package
163+
displayName: 'Download build artifact'
164+
- task: CopyFiles@2
165+
inputs:
166+
sourceFolder: $(Pipeline.Workspace)/NuGet Package
167+
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
168+
displayName: 'Copy build artifact for test run'
169+
- bash: |
170+
./build.sh --verbosity diagnostic
171+
workingDirectory: ./demos/
172+
displayName: 'Run integration tests'
173+
- publish: $(Build.SourcesDirectory)/docs/templates
174+
artifact: Integration Tests Ubuntu 16.04 (Mono)
175+
displayName: 'Publish generated reports as build artifact'
176+
# Integration Tests Ubuntu 16.04 (.NET Core tool)
177+
- job: Test_ubuntu_DotNetCoreTool
178+
displayName: Integration Tests Ubuntu 16.04 (.NET Core tool)
179+
dependsOn: Build
180+
pool:
181+
vmImage: 'ubuntu-16.04'
182+
steps:
183+
- task: NodeTool@0
184+
inputs:
185+
versionSpec: '14.x'
186+
displayName: 'Install NodeJs 14.x'
187+
- bash: |
188+
npm install -g markdownlint-cli
189+
displayName: 'Install required tools'
190+
- download: current
191+
artifact: NuGet Package
192+
displayName: 'Download build artifact'
193+
- task: CopyFiles@2
194+
inputs:
195+
sourceFolder: $(Pipeline.Workspace)/NuGet Package
196+
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
197+
displayName: 'Copy build artifact for test run'
198+
- bash: |
199+
dotnet tool restore
200+
workingDirectory: ./demos/
201+
displayName: 'Restore .NET Core tool'
202+
- bash: |
203+
dotnet cake
204+
workingDirectory: ./demos/
205+
displayName: 'Run integration tests'
206+
- publish: $(Build.SourcesDirectory)/docs/templates
207+
artifact: Integration Tests Ubuntu 16.04 (.NET Core tool)
208+
displayName: 'Publish generated reports as build artifact'

0 commit comments

Comments
 (0)