-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
63 changed files
with
564 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
.azuredevops/pipelines/templates/stages/build-for-integration-tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Quick build of required artifacts for integration tests | ||
|
||
stages: | ||
- stage: IntegrationTestsBuildStage | ||
displayName: Build | ||
dependsOn: [] | ||
jobs: | ||
- job: CreateNuGetPackagesJob | ||
displayName: Create NuGet Packages | ||
pool: | ||
vmImage: 'ubuntu-22.04' | ||
steps: | ||
- template: ../steps/install-required-dotnet-versions-for-building.yml | ||
- bash: ./build.sh --target=Create-NuGet-Packages | ||
displayName: 'Build' | ||
- publish: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet | ||
artifact: NuGet Package | ||
displayName: 'Publish NuGet package as build artifact' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Runs full build pipeline | ||
|
||
stages: | ||
- stage: BuildStage | ||
displayName: Full Build | ||
dependsOn: [] | ||
jobs: | ||
- job: BuildJob | ||
displayName: Build | ||
pool: | ||
vmImage: 'windows-2022' | ||
steps: | ||
- template: ../steps/install-required-dotnet-versions-for-building.yml | ||
- bash: ./build.sh | ||
displayName: 'Build & Run Unit Tests' |
34 changes: 34 additions & 0 deletions
34
.azuredevops/pipelines/templates/stages/integration-tests-git-repository.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Runs integration tests for Cake.Issues.GitRepository on different platforms | ||
|
||
stages: | ||
- stage: IntegrationTestsGitRepositoryStage | ||
displayName: Integration Tests Cake.Issues.GitRepository | ||
dependsOn: IntegrationTestsBuildStage | ||
jobs: | ||
- job: TestGitRepositoryScriptingJob | ||
displayName: Test Cake Scripting | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.GitRepository/script-runner | ||
displayName: 'Run integration tests' | ||
- publish: $(Build.SourcesDirectory)/BuildArtifacts/TestResults/Integration | ||
artifact: Integration Tests Cake.Issues.GitRepository Cake Scripting $(System.JobName) | ||
displayName: 'Publish generated reports as build artifact' |
35 changes: 35 additions & 0 deletions
35
.azuredevops/pipelines/templates/stages/integration-tests-markdownlint.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Runs integration tests for Cake.Issues.Markdownlint on different platforms | ||
|
||
stages: | ||
- stage: IntegrationTestsMarkdownlintStage | ||
displayName: Integration Tests Cake.Issues.Markdownlint | ||
dependsOn: IntegrationTestsBuildStage | ||
jobs: | ||
- job: TestMarkdownlintJob | ||
displayName: Test | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/install-markdownlint.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Markdownlint/script-runner | ||
displayName: 'Run integration tests' | ||
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Markdownlint/script-runner/output/report.html | ||
artifact: Integration Tests Cake.Issues.Markdownlint $(System.JobName) | ||
displayName: 'Publish generated reports as build artifact' |
31 changes: 31 additions & 0 deletions
31
.azuredevops/pipelines/templates/stages/integration-tests-msbuild.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Runs integration tests for Cake.Issues.MsBuild on different platforms | ||
|
||
stages: | ||
- stage: IntegrationTestsMsBuildStage | ||
displayName: Integration Tests Cake.Issues.MsBuild | ||
dependsOn: IntegrationTestsBuildStage | ||
jobs: | ||
- job: TestMsBuildJob | ||
displayName: Test | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.MsBuild/script-runner | ||
displayName: 'Run integration tests' |
55 changes: 55 additions & 0 deletions
55
.azuredevops/pipelines/templates/stages/integration-tests-reporting-console.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Runs integration tests for Cake.Issues.Reporting.Console on different platforms | ||
|
||
stages: | ||
- stage: IntegrationTestsReportingConsoleStage | ||
displayName: Integration Tests Cake.Issues.Reporting.Console | ||
dependsOn: IntegrationTestsBuildStage | ||
jobs: | ||
- job: TestReportingConsoleScriptingJob | ||
displayName: Test Cake Scripting | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Reporting.Console/script-runner | ||
displayName: 'Run integration tests' | ||
- job: TestReportingConsoleFrostingNet6Job | ||
displayName: Test Cake Frosting .NET 6 | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Reporting.Console/frosting/net6.0 | ||
displayName: 'Run integration tests' |
61 changes: 61 additions & 0 deletions
61
.azuredevops/pipelines/templates/stages/integration-tests-reporting-generic.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Runs integration tests for Cake.Issues.Reporting.Generic on different platforms | ||
|
||
stages: | ||
- stage: IntegrationTestsReportingGenericStage | ||
displayName: Integration Tests Cake.Issues.Reporting.Generic | ||
dependsOn: IntegrationTestsBuildStage | ||
jobs: | ||
- job: TestReportingGenericScriptingJob | ||
displayName: Test Cake Scripting | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Reporting.Generic/script-runner | ||
displayName: 'Run integration tests' | ||
- publish: $(Build.SourcesDirectory)/docs/input/docs/report-formats/generic/templates | ||
artifact: Integration Tests Cake.Issues.Reporting.Generic Cake Scripting $(System.JobName) | ||
displayName: 'Publish generated reports as build artifact' | ||
- job: TestReportingGenericFrostingNet6Job | ||
displayName: Test Cake Frosting .NET 6 | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Reporting.Generic/frosting | ||
displayName: 'Run integration tests' | ||
- publish: $(Build.SourcesDirectory)/docs/input/docs/report-formats/generic/templates | ||
artifact: Integration Tests Cake.Issues.Reporting.Generic Cake Frosting .NET 6 $(System.JobName) | ||
displayName: 'Publish generated reports as build artifact' |
115 changes: 115 additions & 0 deletions
115
.azuredevops/pipelines/templates/stages/integration-tests-reporting-sarif.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# Runs integration tests for Cake.Issues.Reporting.Sarif on different platforms | ||
|
||
stages: | ||
- stage: IntegrationTestsReportingSarifStage | ||
displayName: Integration Tests Cake.Issues.Reporting.Sarif | ||
dependsOn: IntegrationTestsBuildStage | ||
jobs: | ||
- job: TestReportingSarifScriptingJob | ||
displayName: Test Cake Scripting | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/script-runner | ||
displayName: 'Run integration tests' | ||
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/script-runner/output | ||
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Scripting $(System.JobName) | ||
displayName: 'Publish generated reports as build artifact' | ||
- job: TestReportingSarifFrostingNet6Job | ||
displayName: Test Cake Frosting .NET 6 | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net6.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net6 | ||
displayName: 'Run integration tests' | ||
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output | ||
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 6 $(System.JobName) | ||
displayName: 'Publish generated reports as build artifact' | ||
- job: TestReportingSarifFrostingNet7Job | ||
displayName: Test Cake Frosting .NET 7 | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net7.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net7 | ||
displayName: 'Run integration tests' | ||
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output | ||
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 7 $(System.JobName) | ||
displayName: 'Publish generated reports as build artifact' | ||
- job: TestReportingSarifFrostingNet8Job | ||
displayName: Test Cake Frosting .NET 8 | ||
strategy: | ||
matrix: | ||
Windows_Server_2019: | ||
imageName: 'windows-2019' | ||
Windows_Server_2022: | ||
imageName: 'windows-2022' | ||
macOS_12: | ||
imageName: 'macOS-12' | ||
macOS_14: | ||
imageName: 'macOS-14' | ||
Ubuntu_20_04: | ||
imageName: 'ubuntu-20.04' | ||
Ubuntu_22_04: | ||
imageName: 'ubuntu-22.04' | ||
pool: | ||
vmImage: $(imageName) | ||
steps: | ||
- template: ../steps/install-net8.yml | ||
- template: ../steps/provide-nuget-packages.yml | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/Cake.Issues.Reporting.Sarif/frosting/net8 | ||
displayName: 'Run integration tests' | ||
- publish: $(Build.SourcesDirectory)/tests/Cake.Issues.Reporting.Sarif/frosting/output | ||
artifact: Integration Tests Cake.Issues.Reporting.Sarif Cake Frosting .NET 8 $(System.JobName) | ||
displayName: 'Publish generated reports as build artifact' |
Oops, something went wrong.