-
Notifications
You must be signed in to change notification settings - Fork 173
/
Copy pathazure-pipelines-integration.yml
86 lines (81 loc) · 3.12 KB
/
azure-pipelines-integration.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
# Branches that trigger a build on commit
trigger:
- main
- feature/*
- release/*
# Branches that trigger builds on PR
pr:
- main
- feature/*
- release/*
jobs:
- job: Format
pool:
vmImage: 'windows-latest'
strategy:
maxParallel: 8
matrix:
format:
_repo: "https://github.com/dotnet/format"
_repoName: "dotnet/format"
_targetSolution: "format.sln"
_branchName: "main"
_sha: "452f6263277533da0af2b557003256d98fbecc27"
_useParentSdk: 0
roslyn:
_repo: "https://github.com/dotnet/roslyn"
_repoName: "dotnet/roslyn"
_targetSolution: "Compilers.sln"
_branchName: "main"
_sha: "d080175cabfe297ebf079af099279b61913bcc28"
_useParentSdk: 0
sdk:
_repo: "https://github.com/dotnet/sdk"
_repoName: "dotnet/sdk"
_targetSolution: "sdk.sln"
_branchName: "main"
_sha: "be25db95c376bffd508a023399ddd34392fe6458"
_useParentSdk: 0
project-system:
_repo: "https://github.com/dotnet/project-system"
_repoName: "dotnet/project-system"
_targetSolution: "ProjectSystem.sln"
_branchName: "main"
_sha: "e660d54d6b3198751bd0502fe270e1657f32a913"
_useParentSdk: 1
msbuild:
_repo: "https://github.com/dotnet/msbuild"
_repoName: "dotnet/msbuild"
_targetSolution: "MSBuild.sln"
_branchName: "main"
_sha: "3c910ba83fc9dbd8e12f50dddc8c381404f928c4"
_useParentSdk: 0
aspnetcore:
_repo: "https://github.com/dotnet/aspnetcore"
_repoName: "dotnet/aspnetcore"
_targetSolution: "AspNetCore.sln"
_branchName: "main"
_sha: "94f1088552518b7b0f5695c12194b7081d98d191"
_useParentSdk: 0
efcore:
_repo: "https://github.com/dotnet/efcore"
_repoName: "dotnet/efcore"
_targetSolution: "All.sln"
_branchName: "main"
_sha: "0ee3ac8de9349f7f9571ed1e50dbb65f9fee3734"
_useParentSdk: 0
razor-tooling:
_repo: "https://github.com/dotnet/razor"
_repoName: "dotnet/razor"
_targetSolution: "Razor.sln"
_branchName: "main"
_sha: "a7f2e33efb28ccdf9b32f1ae45731891f9dfe755"
_useParentSdk: 0
timeoutInMinutes: 60
steps:
- script: eng\integration-test.cmd -repo '$(_repo)' -branchName '$(_branchName)' -sha '$(_sha)' -targetSolution '$(_targetSolution)' -useParentSdk $(_useParentSdk) -testPath '$(Agent.TempDirectory)\temp' -stage 'prepare'
displayName: Prepare $(_repoName) for formatting
- script: eng\integration-test.cmd -repo '$(_repo)' -branchName '$(_branchName)' -sha '$(_sha)' -targetSolution '$(_targetSolution)' -useParentSdk $(_useParentSdk) -testPath '$(Agent.TempDirectory)\temp' -stage 'format-workspace'
displayName: Run dotnet-format on $(_repoName) $(_targetSolution)
- script: eng\integration-test.cmd -repo '$(_repo)' -branchName '$(_branchName)' -sha '$(_sha)' -targetSolution '$(_targetSolution)' -useParentSdk $(_useParentSdk) -testPath '$(Agent.TempDirectory)\temp' -stage 'format-folder'
displayName: Run dotnet-format on $(_repoName) repo folder