Skip to content

Commit 9276b7a

Browse files
committed
Merge branch 'release/4.10.1'
2 parents 58b83b9 + 77de2b2 commit 9276b7a

File tree

63 files changed

+564
-509
lines changed

Some content is hidden

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

63 files changed

+564
-509
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ install:
1919
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
2020
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
2121
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
22-
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.424 -InstallDir $env:DOTNET_INSTALL_DIR'
22+
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.425 -InstallDir $env:DOTNET_INSTALL_DIR'
2323
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.409 -InstallDir $env:DOTNET_INSTALL_DIR'
24-
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.303 -InstallDir $env:DOTNET_INSTALL_DIR'
24+
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.401 -InstallDir $env:DOTNET_INSTALL_DIR'
2525
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
2626
- ps: dotnet --info
2727

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Quick build of required artifacts for integration tests
2+
3+
stages:
4+
- stage: IntegrationTestsBuildStage
5+
displayName: Build
6+
dependsOn: []
7+
jobs:
8+
- job: CreateNuGetPackagesJob
9+
displayName: Create NuGet Packages
10+
pool:
11+
vmImage: 'ubuntu-22.04'
12+
steps:
13+
- template: ../steps/install-required-dotnet-versions-for-building.yml
14+
- bash: ./build.sh --target=Create-NuGet-Packages
15+
displayName: 'Build'
16+
- publish: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
17+
artifact: NuGet Package
18+
displayName: 'Publish NuGet package as build artifact'
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Runs full build pipeline
2+
3+
stages:
4+
- stage: BuildStage
5+
displayName: Full Build
6+
dependsOn: []
7+
jobs:
8+
- job: BuildJob
9+
displayName: Build
10+
pool:
11+
vmImage: 'windows-2022'
12+
steps:
13+
- template: ../steps/install-required-dotnet-versions-for-building.yml
14+
- bash: ./build.sh
15+
displayName: 'Build & Run Unit Tests'
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Runs integration tests for Cake.Issues.GitRepository on different platforms
2+
3+
stages:
4+
- stage: IntegrationTestsGitRepositoryStage
5+
displayName: Integration Tests Cake.Issues.GitRepository
6+
dependsOn: IntegrationTestsBuildStage
7+
jobs:
8+
- job: TestGitRepositoryScriptingJob
9+
displayName: Test Cake Scripting
10+
strategy:
11+
matrix:
12+
Windows_Server_2019:
13+
imageName: 'windows-2019'
14+
Windows_Server_2022:
15+
imageName: 'windows-2022'
16+
macOS_12:
17+
imageName: 'macOS-12'
18+
macOS_14:
19+
imageName: 'macOS-14'
20+
Ubuntu_20_04:
21+
imageName: 'ubuntu-20.04'
22+
Ubuntu_22_04:
23+
imageName: 'ubuntu-22.04'
24+
pool:
25+
vmImage: $(imageName)
26+
steps:
27+
- template: ../steps/install-net6.yml
28+
- template: ../steps/provide-nuget-packages.yml
29+
- powershell: ./build.ps1 --verbosity=diagnostic
30+
workingDirectory: ./tests/Cake.Issues.GitRepository/script-runner
31+
displayName: 'Run integration tests'
32+
- publish: $(Build.SourcesDirectory)/BuildArtifacts/TestResults/Integration
33+
artifact: Integration Tests Cake.Issues.GitRepository Cake Scripting $(System.JobName)
34+
displayName: 'Publish generated reports as build artifact'
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Runs integration tests for Cake.Issues.Markdownlint on different platforms
2+
3+
stages:
4+
- stage: IntegrationTestsMarkdownlintStage
5+
displayName: Integration Tests Cake.Issues.Markdownlint
6+
dependsOn: IntegrationTestsBuildStage
7+
jobs:
8+
- job: TestMarkdownlintJob
9+
displayName: Test
10+
strategy:
11+
matrix:
12+
Windows_Server_2019:
13+
imageName: 'windows-2019'
14+
Windows_Server_2022:
15+
imageName: 'windows-2022'
16+
macOS_12:
17+
imageName: 'macOS-12'
18+
macOS_14:
19+
imageName: 'macOS-14'
20+
Ubuntu_20_04:
21+
imageName: 'ubuntu-20.04'
22+
Ubuntu_22_04:
23+
imageName: 'ubuntu-22.04'
24+
pool:
25+
vmImage: $(imageName)
26+
steps:
27+
- template: ../steps/install-net6.yml
28+
- template: ../steps/install-markdownlint.yml
29+
- template: ../steps/provide-nuget-packages.yml
30+
- powershell: ./build.ps1 --verbosity=diagnostic
31+
workingDirectory: ./tests/Cake.Issues.Markdownlint/script-runner
32+
displayName: 'Run integration tests'
33+
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Markdownlint/script-runner/output/report.html
34+
artifact: Integration Tests Cake.Issues.Markdownlint $(System.JobName)
35+
displayName: 'Publish generated reports as build artifact'
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Runs integration tests for Cake.Issues.MsBuild on different platforms
2+
3+
stages:
4+
- stage: IntegrationTestsMsBuildStage
5+
displayName: Integration Tests Cake.Issues.MsBuild
6+
dependsOn: IntegrationTestsBuildStage
7+
jobs:
8+
- job: TestMsBuildJob
9+
displayName: Test
10+
strategy:
11+
matrix:
12+
Windows_Server_2019:
13+
imageName: 'windows-2019'
14+
Windows_Server_2022:
15+
imageName: 'windows-2022'
16+
macOS_12:
17+
imageName: 'macOS-12'
18+
macOS_14:
19+
imageName: 'macOS-14'
20+
Ubuntu_20_04:
21+
imageName: 'ubuntu-20.04'
22+
Ubuntu_22_04:
23+
imageName: 'ubuntu-22.04'
24+
pool:
25+
vmImage: $(imageName)
26+
steps:
27+
- template: ../steps/install-net6.yml
28+
- template: ../steps/provide-nuget-packages.yml
29+
- powershell: ./build.ps1 --verbosity=diagnostic
30+
workingDirectory: ./tests/Cake.Issues.MsBuild/script-runner
31+
displayName: 'Run integration tests'
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Runs integration tests for Cake.Issues.Reporting.Console on different platforms
2+
3+
stages:
4+
- stage: IntegrationTestsReportingConsoleStage
5+
displayName: Integration Tests Cake.Issues.Reporting.Console
6+
dependsOn: IntegrationTestsBuildStage
7+
jobs:
8+
- job: TestReportingConsoleScriptingJob
9+
displayName: Test Cake Scripting
10+
strategy:
11+
matrix:
12+
Windows_Server_2019:
13+
imageName: 'windows-2019'
14+
Windows_Server_2022:
15+
imageName: 'windows-2022'
16+
macOS_12:
17+
imageName: 'macOS-12'
18+
macOS_14:
19+
imageName: 'macOS-14'
20+
Ubuntu_20_04:
21+
imageName: 'ubuntu-20.04'
22+
Ubuntu_22_04:
23+
imageName: 'ubuntu-22.04'
24+
pool:
25+
vmImage: $(imageName)
26+
steps:
27+
- template: ../steps/install-net6.yml
28+
- template: ../steps/provide-nuget-packages.yml
29+
- powershell: ./build.ps1 --verbosity=diagnostic
30+
workingDirectory: ./tests/Cake.Issues.Reporting.Console/script-runner
31+
displayName: 'Run integration tests'
32+
- job: TestReportingConsoleFrostingNet6Job
33+
displayName: Test Cake Frosting .NET 6
34+
strategy:
35+
matrix:
36+
Windows_Server_2019:
37+
imageName: 'windows-2019'
38+
Windows_Server_2022:
39+
imageName: 'windows-2022'
40+
macOS_12:
41+
imageName: 'macOS-12'
42+
macOS_14:
43+
imageName: 'macOS-14'
44+
Ubuntu_20_04:
45+
imageName: 'ubuntu-20.04'
46+
Ubuntu_22_04:
47+
imageName: 'ubuntu-22.04'
48+
pool:
49+
vmImage: $(imageName)
50+
steps:
51+
- template: ../steps/install-net6.yml
52+
- template: ../steps/provide-nuget-packages.yml
53+
- powershell: ./build.ps1 --verbosity=diagnostic
54+
workingDirectory: ./tests/Cake.Issues.Reporting.Console/frosting/net6.0
55+
displayName: 'Run integration tests'
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Runs integration tests for Cake.Issues.Reporting.Generic on different platforms
2+
3+
stages:
4+
- stage: IntegrationTestsReportingGenericStage
5+
displayName: Integration Tests Cake.Issues.Reporting.Generic
6+
dependsOn: IntegrationTestsBuildStage
7+
jobs:
8+
- job: TestReportingGenericScriptingJob
9+
displayName: Test Cake Scripting
10+
strategy:
11+
matrix:
12+
Windows_Server_2019:
13+
imageName: 'windows-2019'
14+
Windows_Server_2022:
15+
imageName: 'windows-2022'
16+
macOS_12:
17+
imageName: 'macOS-12'
18+
macOS_14:
19+
imageName: 'macOS-14'
20+
Ubuntu_20_04:
21+
imageName: 'ubuntu-20.04'
22+
Ubuntu_22_04:
23+
imageName: 'ubuntu-22.04'
24+
pool:
25+
vmImage: $(imageName)
26+
steps:
27+
- template: ../steps/install-net6.yml
28+
- template: ../steps/provide-nuget-packages.yml
29+
- powershell: ./build.ps1 --verbosity=diagnostic
30+
workingDirectory: ./tests/Cake.Issues.Reporting.Generic/script-runner
31+
displayName: 'Run integration tests'
32+
- publish: $(Build.SourcesDirectory)/docs/input/docs/report-formats/generic/templates
33+
artifact: Integration Tests Cake.Issues.Reporting.Generic Cake Scripting $(System.JobName)
34+
displayName: 'Publish generated reports as build artifact'
35+
- job: TestReportingGenericFrostingNet6Job
36+
displayName: Test Cake Frosting .NET 6
37+
strategy:
38+
matrix:
39+
Windows_Server_2019:
40+
imageName: 'windows-2019'
41+
Windows_Server_2022:
42+
imageName: 'windows-2022'
43+
macOS_12:
44+
imageName: 'macOS-12'
45+
macOS_14:
46+
imageName: 'macOS-14'
47+
Ubuntu_20_04:
48+
imageName: 'ubuntu-20.04'
49+
Ubuntu_22_04:
50+
imageName: 'ubuntu-22.04'
51+
pool:
52+
vmImage: $(imageName)
53+
steps:
54+
- template: ../steps/install-net6.yml
55+
- template: ../steps/provide-nuget-packages.yml
56+
- powershell: ./build.ps1 --verbosity=diagnostic
57+
workingDirectory: ./tests/Cake.Issues.Reporting.Generic/frosting
58+
displayName: 'Run integration tests'
59+
- publish: $(Build.SourcesDirectory)/docs/input/docs/report-formats/generic/templates
60+
artifact: Integration Tests Cake.Issues.Reporting.Generic Cake Frosting .NET 6 $(System.JobName)
61+
displayName: 'Publish generated reports as build artifact'
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
# Runs integration tests for Cake.Issues.Reporting.Sarif on different platforms
2+
3+
stages:
4+
- stage: IntegrationTestsReportingSarifStage
5+
displayName: Integration Tests Cake.Issues.Reporting.Sarif
6+
dependsOn: IntegrationTestsBuildStage
7+
jobs:
8+
- job: TestReportingSarifScriptingJob
9+
displayName: Test Cake Scripting
10+
strategy:
11+
matrix:
12+
Windows_Server_2019:
13+
imageName: 'windows-2019'
14+
Windows_Server_2022:
15+
imageName: 'windows-2022'
16+
macOS_12:
17+
imageName: 'macOS-12'
18+
macOS_14:
19+
imageName: 'macOS-14'
20+
Ubuntu_20_04:
21+
imageName: 'ubuntu-20.04'
22+
Ubuntu_22_04:
23+
imageName: 'ubuntu-22.04'
24+
pool:
25+
vmImage: $(imageName)
26+
steps:
27+
- template: ../steps/install-net6.yml
28+
- template: ../steps/provide-nuget-packages.yml
29+
- powershell: ./build.ps1 --verbosity=diagnostic
30+
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/script-runner
31+
displayName: 'Run integration tests'
32+
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/script-runner/output
33+
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Scripting $(System.JobName)
34+
displayName: 'Publish generated reports as build artifact'
35+
- job: TestReportingSarifFrostingNet6Job
36+
displayName: Test Cake Frosting .NET 6
37+
strategy:
38+
matrix:
39+
Windows_Server_2019:
40+
imageName: 'windows-2019'
41+
Windows_Server_2022:
42+
imageName: 'windows-2022'
43+
macOS_12:
44+
imageName: 'macOS-12'
45+
macOS_14:
46+
imageName: 'macOS-14'
47+
Ubuntu_20_04:
48+
imageName: 'ubuntu-20.04'
49+
Ubuntu_22_04:
50+
imageName: 'ubuntu-22.04'
51+
pool:
52+
vmImage: $(imageName)
53+
steps:
54+
- template: ../steps/install-net6.yml
55+
- template: ../steps/provide-nuget-packages.yml
56+
- powershell: ./build.ps1 --verbosity=diagnostic
57+
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net6
58+
displayName: 'Run integration tests'
59+
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output
60+
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 6 $(System.JobName)
61+
displayName: 'Publish generated reports as build artifact'
62+
- job: TestReportingSarifFrostingNet7Job
63+
displayName: Test Cake Frosting .NET 7
64+
strategy:
65+
matrix:
66+
Windows_Server_2019:
67+
imageName: 'windows-2019'
68+
Windows_Server_2022:
69+
imageName: 'windows-2022'
70+
macOS_12:
71+
imageName: 'macOS-12'
72+
macOS_14:
73+
imageName: 'macOS-14'
74+
Ubuntu_20_04:
75+
imageName: 'ubuntu-20.04'
76+
Ubuntu_22_04:
77+
imageName: 'ubuntu-22.04'
78+
pool:
79+
vmImage: $(imageName)
80+
steps:
81+
- template: ../steps/install-net7.yml
82+
- template: ../steps/provide-nuget-packages.yml
83+
- powershell: ./build.ps1 --verbosity=diagnostic
84+
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net7
85+
displayName: 'Run integration tests'
86+
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output
87+
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 7 $(System.JobName)
88+
displayName: 'Publish generated reports as build artifact'
89+
- job: TestReportingSarifFrostingNet8Job
90+
displayName: Test Cake Frosting .NET 8
91+
strategy:
92+
matrix:
93+
Windows_Server_2019:
94+
imageName: 'windows-2019'
95+
Windows_Server_2022:
96+
imageName: 'windows-2022'
97+
macOS_12:
98+
imageName: 'macOS-12'
99+
macOS_14:
100+
imageName: 'macOS-14'
101+
Ubuntu_20_04:
102+
imageName: 'ubuntu-20.04'
103+
Ubuntu_22_04:
104+
imageName: 'ubuntu-22.04'
105+
pool:
106+
vmImage: $(imageName)
107+
steps:
108+
- template: ../steps/install-net8.yml
109+
- template: ../steps/provide-nuget-packages.yml
110+
- powershell: ./build.ps1 --verbosity=diagnostic
111+
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net8
112+
displayName: 'Run integration tests'
113+
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output
114+
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 8 $(System.JobName)
115+
displayName: 'Publish generated reports as build artifact'

0 commit comments

Comments
 (0)