-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31597 from RikkiGibson/merge-p2
Merge master to unmanaged constructed type feature branch
- Loading branch information
Showing
80 changed files
with
2,143 additions
and
487 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"solution": { | ||
"path": "Roslyn.sln", | ||
"projects": [ | ||
"src\\Compilers\\Core\\CodeAnalysisTest\\Microsoft.CodeAnalysis.UnitTests.csproj", | ||
"src\\Compilers\\Core\\Portable\\Microsoft.CodeAnalysis.csproj", | ||
"src\\Compilers\\Server\\VBCSCompiler\\VBCSCompiler.csproj", | ||
"src\\Compilers\\Server\\VBCSCompilerTests\\VBCSCompiler.UnitTests.csproj", | ||
"src\\Compilers\\CSharp\\csc\\csc.csproj", | ||
"src\\Compilers\\CSharp\\Portable\\Microsoft.CodeAnalysis.CSharp.csproj", | ||
"src\\Compilers\\CSharp\\Test\\CommandLine\\Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests.csproj", | ||
"src\\Compilers\\CSharp\\Test\\Emit\\Microsoft.CodeAnalysis.CSharp.Emit.UnitTests.csproj", | ||
"src\\Compilers\\CSharp\\Test\\IOperation\\Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests.csproj", | ||
"src\\Compilers\\CSharp\\Test\\Semantic\\Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests.csproj", | ||
"src\\Compilers\\CSharp\\Test\\Symbol\\Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests.csproj", | ||
"src\\Compilers\\CSharp\\Test\\Syntax\\Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests.csproj", | ||
"src\\Compilers\\Test\\Resources\\Core\\Microsoft.CodeAnalysis.Compiler.Test.Resources.csproj", | ||
"src\\Compilers\\Test\\Utilities\\CSharp\\Microsoft.CodeAnalysis.CSharp.Test.Utilities.csproj", | ||
"src\\Compilers\\Test\\Utilities\\VisualBasic\\Microsoft.CodeAnalysis.VisualBasic.Test.Utilities.vbproj", | ||
"src\\Compilers\\VisualBasic\\Portable\\Microsoft.CodeAnalysis.VisualBasic.vbproj", | ||
"src\\Compilers\\VisualBasic\\Test\\CommandLine\\Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests.vbproj", | ||
"src\\Compilers\\VisualBasic\\Test\\Emit\\Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests.vbproj", | ||
"src\\Compilers\\VisualBasic\\Test\\IOperation\\Roslyn.Compilers.VisualBasic.IOperation.UnitTests.vbproj", | ||
"src\\Compilers\\VisualBasic\\Test\\Semantic\\Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests.vbproj", | ||
"src\\Compilers\\VisualBasic\\Test\\Symbol\\Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests.vbproj", | ||
"src\\Compilers\\VisualBasic\\Test\\Syntax\\Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests.vbproj", | ||
"src\\Test\\PdbUtilities\\Roslyn.Test.PdbUtilities.csproj", | ||
"src\\Compilers\\Core\\AnalyzerDriver\\AnalyzerDriver.shproj", | ||
"src\\Compilers\\CSharp\\Test\\WinRT\\Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests.csproj", | ||
"src\\Compilers\\Core\\MSBuildTaskTests\\Microsoft.Build.Tasks.CodeAnalysis.UnitTests.csproj", | ||
"src\\Compilers\\VisualBasic\\vbc\\vbc.csproj", | ||
"src\\Test\\Utilities\\Portable\\Roslyn.Test.Utilities.csproj", | ||
"src\\Compilers\\VisualBasic\\BasicAnalyzerDriver\\BasicAnalyzerDriver.shproj", | ||
"src\\Compilers\\CSharp\\CSharpAnalyzerDriver\\CSharpAnalyzerDriver.shproj", | ||
"src\\Compilers\\Core\\CommandLine\\CommandLine.shproj", | ||
"src\\Compilers\\Extension\\Roslyn.Compilers.Extension.csproj", | ||
"src\\Dependencies\\PooledObjects\\Microsoft.CodeAnalysis.PooledObjects.shproj", | ||
"src\\Compilers\\Core\\MSBuildTask\\Microsoft.Build.Tasks.CodeAnalysis.csproj", | ||
"src\\NuGet\\Microsoft.Net.Compilers\\Microsoft.Net.Compilers.Package.csproj", | ||
"src\\NuGet\\Microsoft.NETCore.Compilers\\Microsoft.NETCore.Compilers.Package.csproj", | ||
"src\\NuGet\\Microsoft.CodeAnalysis.Compilers.Package.csproj", | ||
"src\\NuGet\\Microsoft.CodeAnalysis.Package.csproj" | ||
] | ||
} | ||
} |
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
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,150 @@ | ||
# Script for generating our badges line in the README.md | ||
|
||
[CmdletBinding(PositionalBinding=$false)] | ||
param () | ||
|
||
$branchNames = @( | ||
'master', | ||
'master-vs-deps', | ||
'dev16.0-preview2', | ||
'dev16.0-preview2-vs-deps') | ||
|
||
function Get-AzureBadge($branchName, $jobName, $configName) { | ||
$template = "[![Build Status](https://dev.azure.com/dnceng/public/_apis/build/status/dotnet/roslyn/roslyn-CI?label=build&branchname=$branchName&jobname=$jobName&configuration=$configName)]" | ||
$template += "(https://dev.azure.com/dnceng/public/_build/latest?definitionId=15&branchname=$branchName)" | ||
return $template | ||
} | ||
|
||
function Get-AzureLine($branchName, $jobNames) { | ||
$line = "**$branchName**|" | ||
foreach ($jobName in $jobNames) { | ||
$i = $jobName.IndexOf('#') | ||
$configName = $jobName.SubString($i + 1) | ||
$jobName = $jobName.Substring(0, $i) | ||
|
||
$line += Get-AzureBadge $branchName $jobName $configName | ||
$line += "|" | ||
} | ||
|
||
return $line + [Environment]::NewLine | ||
} | ||
|
||
function Get-JenkinsBadge($branchName, $jobName) { | ||
$template = "[![Build Status](https://ci.dot.net/buildStatus/icon?job=dotnet_roslyn/$branchName/$jobName)]" | ||
$template += "(https://ci.dot.net/job/dotnet_roslyn/job/$branchName/job/$jobName/)" | ||
return $template | ||
} | ||
|
||
function Get-JenkinsLine($branchName, $jobNames) { | ||
$line = "**$branchName**|" | ||
foreach ($jobName in $jobNames) { | ||
$line += Get-JenkinsBadge $branchName $jobName | ||
$line += "|" | ||
} | ||
|
||
return $line + [Environment]::NewLine | ||
} | ||
|
||
function Get-DesktopTable() { | ||
$jobNames = @( | ||
'Windows_Desktop_Unit_Tests#debug_32' | ||
'Windows_Desktop_Unit_Tests#debug_64' | ||
'Windows_Desktop_Unit_Tests#release_32' | ||
'Windows_Desktop_Unit_Tests#release_64' | ||
'Windows_Desktop_Spanish_Unit_Tests#', | ||
'Windows_Determinism_Test#', | ||
'Windows_Correctness_Test#' | ||
) | ||
|
||
$table = @' | ||
### Desktop Unit Tests | ||
|Branch|Debug x86|Debug x64|Release x86|Release x64|Spanish| | ||
|:--:|:--:|:--:|:--:|:--:|:--:| | ||
'@ | ||
foreach ($branchName in $branchNames) { | ||
$table += Get-AzureLine $branchName $jobNames | ||
} | ||
return $table | ||
} | ||
|
||
function Get-CoreClrTable() { | ||
$jobNames = @( | ||
'Windows_CoreClr_Unit_Tests#debug', | ||
'Windows_CoreClr_Unit_Tests#release', | ||
'Linux_Test#coreclr' | ||
) | ||
|
||
$table = @' | ||
### CoreClr Unit Tests | ||
|Branch|Windows Debug|Windows Release|Linux| | ||
|:--:|:--:|:--:|:--:| | ||
'@ | ||
|
||
foreach ($branchName in $branchNames) { | ||
$table += Get-AzureLine $branchName $jobNames | ||
} | ||
return $table | ||
} | ||
|
||
function Get-IntegrationTable() { | ||
$jobNames = @( | ||
'windows_debug_vs-integration', | ||
'windows_release_vs-integration' | ||
) | ||
|
||
$table = @' | ||
### Integration Tests | ||
|Branch|Debug|Release| | ||
|:--:|:--:|:--:| | ||
'@ | ||
|
||
foreach ($branchName in $branchNames) { | ||
$table += Get-JenkinsLine $branchName $jobNames | ||
} | ||
return $table | ||
|
||
} | ||
|
||
function Get-MiscTable() { | ||
$jobNames = @( | ||
'Windows_Determinism_Test#', | ||
'Windows_Correctness_Test#', | ||
'Linux_Test#mono' | ||
) | ||
|
||
$table = @' | ||
### Misc Tests | ||
|Branch|Determinism|Build Correctness|Mono| | ||
|:--:|:--:|:--:|:--:| | ||
'@ | ||
|
||
foreach ($branchName in $branchNames) { | ||
$table += Get-AzureLine $branchName $jobNames | ||
} | ||
return $table | ||
} | ||
|
||
|
||
Set-StrictMode -version 2.0 | ||
$ErrorActionPreference="Stop" | ||
try { | ||
. (Join-Path $PSScriptRoot "build-utils.ps1") | ||
|
||
|
||
Get-DesktopTable | Write-Output | ||
Get-CoreClrTable | Write-Output | ||
Get-IntegrationTable | Write-Output | ||
Get-MiscTable | Write-Output | ||
|
||
exit 0 | ||
} | ||
catch { | ||
Write-Host $_ | ||
Write-Host $_.Exception | ||
Write-Host $_.ScriptStackTrace | ||
exit 1 | ||
} |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.