-
Notifications
You must be signed in to change notification settings - Fork 93
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 #1242 from microsoft/signing2
Switch official pipeline over to devdiv and microbuild
- Loading branch information
Showing
38 changed files
with
689 additions
and
228 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
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
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This artifact captures everything needed to insert into VS (NuGet packages, insertion metadata, etc.) | ||
|
||
[CmdletBinding()] | ||
Param ( | ||
) | ||
|
||
if ($IsMacOS -or $IsLinux) { | ||
# We only package up for insertions on Windows agents since they are where optprof can happen. | ||
Write-Verbose "Skipping VSInsertion artifact since we're not on Windows." | ||
return @{} | ||
} | ||
|
||
$RepoRoot = [System.IO.Path]::GetFullPath("$PSScriptRoot\..\..") | ||
$BuildConfiguration = $env:BUILDCONFIGURATION | ||
if (!$BuildConfiguration) { | ||
$BuildConfiguration = 'Debug' | ||
} | ||
|
||
$NuGetPackages = "$RepoRoot/bin/Packages/$BuildConfiguration/NuGet" | ||
|
||
if (!(Test-Path $NuGetPackages)) { | ||
Write-Warning "Skipping because NuGet packages haven't been built yet." | ||
return @{} | ||
} | ||
|
||
$result = @{ | ||
"$NuGetPackages" = (Get-ChildItem $NuGetPackages -Recurse) | ||
} | ||
|
||
if ($env:IsOptProf) { | ||
$VSRepoPackages = "$RepoRoot/bin/Packages/$BuildConfiguration/VSRepo" | ||
$result["$VSRepoPackages"] = (Get-ChildItem "$VSRepoPackages\*.VSInsertionMetadata.*.nupkg"); | ||
} | ||
|
||
$result |
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.