Permalink
Switch branches/tags
AddLangServiceSatelliteAssemblies-180725 AddSatelliteAssembliesToSetup-180719 ArcadeTargets ArcadeTest DemoBranch DsrDependency Fix432432 FixRunSettings Layout MattGal-patch-1 PublishJson158159 RefactorToolsOptions VSSetupDrop bugfix/update-composition-package consolidateGoToDef dev/JieCarolHu/kaseyDemo531_bugFixed dev/JieCarolHu/kaseyDemo531 dev/brettfo/async-package dev/brettfo/sign-files dev/brettfo/snippet-syntax-facts dev/brettfo/version-packages dev/chborl/completestatement dev/chborley/completestatement dev/chborley/completestatement2 dev/chsienki/dipose_pattern_ext_method dev/cston/refs-only dev/features/sharwell-async-package dev/frsilb/disable-incremental-binding dev/hechang/FarRazor3 dev/hechang/OOPCompletion dev/hechang/RazorFar5 dev/hechang/mockup dev/hechang/newOptProf2 dev/hechang/optimization dev/hechang/projectapi dev/hechang/razorCleanup dev/hechang/removeOptimization dev/hechang/serialization2 dev/hechang/serialization4 dev/jaredpar/fix-del dev/jaredpar/fix-nuget dev/jaredpar/fix-official dev/jaredpar/fix-pack dev/jaredpar/fix-process dev/jaredpar/fix-publish dev/jaredpar/fix-queue dev/jaredpar/fix-sign dev/jaredpar/sdk dev/jaredpar/staging-queue dev/jaredpar/swix dev/jasonmal/delete-immutablehashmap dev/jcouv/update-docs dev/jinuj/PR-23448 dev/jorobich/new-classifications dev/olegtk/ExportFixes dev/olegtk/testNavBarIcons2 dev/sharwell/async-package dev/sharwell/vs-threading-analyzers dev/shgu/15.9p2version dev/shgu/15.9p2 dev/tmat/PublishData15.9 dev/tmat/ibcversionfix dev/tmat/3.0.0 dev15-rc-ri dev15-rc2 dev15-rc3 dev15.0.x dev15.1.x dev15.2.x dev15.3-preview1 dev15.3-preview2 dev15.3.x dev15.4.x dev15.5-preview1-staging dev15.5-preview1 dev15.5.x dev15.6-preview1-vs-deps dev15.6-preview2-vs-deps dev15.6-preview2 dev15.6-preview3-vs-deps dev15.6-preview3 dev15.6.x-vs-deps dev15.6.x dev15.7-preview1-vs-deps dev15.7-preview1-with-hotfixes-vs-deps dev15.7-preview1 dev15.7-preview3-vs-deps dev15.7-preview3 dev15.7.x-vs-deps dev15.7.x dev15.8-preview2-vs-deps dev15.8-preview2 dev15.8-preview3-vs-deps dev15.8-preview3 dev15.8-preview4-vs-deps dev15.8-preview4 dev15.8.x-vs-deps dev15.8.x dev15.9-preview1-vs-deps dev15.9-preview1 dev15.9-preview2-vs-deps dev15.9-preview2 dev15.9-preview3-vs-deps dev15.9-preview3 dev15.9.x-vs-deps dev15.9.x dev16.0.x-vs-deps dev16.0.x dpoeschl-patch-1 editorconfig-ide enableOOPByDefault fastInitialTaggingMaster feature/move-integration-tests-to-APEX features/AnnotatedTypes features/AsyncCompletion features/DefaultInterfaceImplementation features/EditorCompletion158_2 features/ExpressionVariables features/IVTCompletionTests features/NegatedConditionStatements features/NullableDogfood features/NullableReferenceTypes features/async-streams features/build-demo features/caller-expression features/ci features/codecov features/compiler features/continuation-comments features/custom-fixed features/dataflow features/decon-default features/editorconfig-in-compiler features/embeddedJson features/embeddedRegex features/enable-bonus-imports features/enhanced-using features/extensionEverything features/fixed-buffers features/generic-attributes features/invertif features/localsinit features/nested-stackalloc features/nullable-common features/optest features/range features/razor-far features/razorFar features/records features/recursive-patterns features/ref-partial features/ref-reassignment features/remotels features/sdk2 features/source-build features/source-generators features/strongname features/target-typed-new features/unmanaged-constructed-types features/verification features/xcopy findRefsOOPWork2RPS findRefsOOPWork2 fixsigning ide-dataflow-analyzer infrastructure/optprof-validation infrastructure/optprof inject-range-indexers insertion-snapshot/20181213.1 integ ivanbasov/asynccompletion master-vs-deps master microupdate netcore2.1-preview2 new-fixed-rules patterns2 releases/Dev14CTP5 releases/Dev14CTP6 releases/Dev14Preview releases/VS2015RC releases/VS2015 revert-30093-dev15.9.x-unused-crash rls sessionBGThread15.3 simpletagnostic sourceText sqliteWork5 tmeschter/AddSatelliteAssembliesToSetup-180719 update-readme updating-publish using-var vsts-dnceng-yml_increase-timeout
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
174 lines (150 sloc) 6.18 KB
resources:
- repo: self
clean: true
jobs:
- job:
pool:
name: VSEng-MicroBuildVS2017
demands:
- msbuild
- visualstudio
- DotNetFramework
timeoutInMinutes: 360
variables:
BuildPlatform: 'Any CPU'
InsertTargetBranchFullName: 'lab/d16.0stg'
InsertTargetBranchShortName: 'd16.0stg'
steps:
- task: NuGetCommand@2
inputs:
command: custom
arguments: 'locals all -clear'
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
inputs:
signType: real
condition: and(succeeded(), in(variables['PB_SignType'], 'test', 'real'))
- task: ms-vseng.MicroBuildTasks.965C8DC6-1483-45C9-B384-5AC75DA1F1A4.MicroBuildOptProfPlugin@1
inputs:
skipRunOptimize: true
displayName: 'Install OptProf Plugin'
- task: ms-vseng.MicroBuildTasks.32f78468-e895-4f47-962c-58a699361df8.MicroBuildSwixPlugin@1
inputs:
feedSource: 'https://devdiv-test.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json'
- task: NuGetRestore@1
inputs:
solution: 'eng\internal\Toolset.csproj'
feed: '8f470c7e-ac49-4afe-a6ee-cf784e438b93'
- script: eng\cibuild.cmd
-configuration $(BuildConfiguration) -official -testDesktop -procdump
/p:DotNetSignType=$(PB_SignType)
/p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat)
/p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat)
displayName: Build
condition: succeeded()
- task: PowerShell@2
displayName: Publish Assets
inputs:
arguments: '-configuration $(BuildConfiguration) -branchName "$(Build.SourceBranch)" -mygetApiKey $(Roslyn.MyGetApiKey) -nugetApiKey $(Roslyn.NuGetApiKey) -gitHubUserName $(Roslyn.GitHubUserName) -gitHubToken $(Roslyn.GitHubToken) -gitHubEmail $(Roslyn.GitHubEmail)'
filePath: 'eng\publish-assets.ps1'
condition: succeeded()
### BEGIN OPTPROF TASKS ###
# Publish optprof configuration files
- task: ms-vscs-artifact.build-tasks.artifactDropTask-1.artifactDropTask@0
inputs:
dropServiceURI: 'https://devdiv.artifacts.visualstudio.com'
buildNumber: 'ProfilingInputs/DevDiv/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildId)'
sourcePath: '$(Build.SourcesDirectory)\artifacts\OptProf\$(BuildConfiguration)\Data'
toLowerCase: false
usePat: false
displayName: 'OPTPROF - Publish to Artifact Services - ProfilingInputs'
condition: succeededOrFailed()
# Created a exe that will install visual studio with this version
- task: PowerShell@2
inputs:
filePath: eng\setmanifestpaths.ps1
failOnStderr: true
displayName: 'OPTPROF - Set VSTS variables for vsman files'
condition: succeededOrFailed()
- task: ms-vseng.MicroBuildTasks.0e9d0d4d-71ec-4e4e-ae40-db9896f1ae74.MicroBuildBuildVSBootstrapper@2
inputs:
vsMajorVersion: 16
channelName: int.$(InsertTargetBranchShortName)
manifests: $(SetupManifests)
outputFolder: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\Insertion'
displayName: 'OPTPROF - Build VS bootstrapper'
condition: succeededOrFailed()
# Publish run settings
- task: PowerShell@2
inputs:
filePath: eng\createrunsettings.ps1
arguments: -configuration $(BuildConfiguration)
failOnStderr: true
displayName: 'OPTPROF - generate runsettings file'
condition: succeededOrFailed()
# Publish bootstrapper info
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: $(Build.StagingDirectory)\MicroBuild\Output
ArtifactName: MicroBuildOutputs
ArtifactType: Container
displayName: 'OPTPROF - Publish Artifact: MicroBuildOutputs'
condition: succeededOrFailed()
# Publish scripts to get the branch of VS that this inserts into
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\OptProf\$(BuildConfiguration)\BranchInfo'
ArtifactName: BranchInfo
ArtifactType: Container
displayName: 'OPTPROF - Publish Artifact: BranchInfo'
condition: succeededOrFailed()
### END OPTPROF TASKS ###
- task: PublishBuildArtifacts@1
displayName: Publish Logs
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\log\$(BuildConfiguration)'
ArtifactName: 'Build Diagnostic Files'
publishLocation: Container
continueOnError: true
condition: succeededOrFailed()
- task: PublishTestResults@1
displayName: Publish Test Results
inputs:
testRunner: XUnit
testResultsFiles: '$(Build.SourcesDirectory)\artifacts\TestResults\$(BuildConfiguration)\*.xml'
mergeTestResults: true
testRunTitle: 'Unit Tests'
condition: succeededOrFailed()
# Publishes setup VSIXes to a drop with id defined by MicroBuildSwixPlugin.
# Note: The insertion tool looks for the display name of this task in the logs.
- task: ms-vseng.MicroBuildTasks.4305a8de-ba66-4d8b-b2d1-0dc4ecbbf5e8.MicroBuildUploadVstsDropFolder@1
displayName: Upload VSTS Drop
inputs:
DropFolder: 'artifacts\VSSetup\$(BuildConfiguration)\Insertion'
condition: succeeded()
# Publish insertion packages to CoreXT store.
- task: NuGetCommand@2
displayName: Publish CoreXT Packages
inputs:
command: push
feedsToUse: config
packagesToPush: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\DevDivPackages\**\*.nupkg'
publishVstsFeed: '97a41293-2972-4f48-8c0e-05493ae82010'
allowPackageConflicts: true
condition: succeeded()
# Publish an artifact that the RoslynInsertionTool is able to find by its name.
- task: PublishBuildArtifacts@1
displayName: Publish Artifact VSSetup
inputs:
PathtoPublish: 'artifacts\VSSetup\$(BuildConfiguration)'
ArtifactName: 'VSSetup'
condition: succeeded()
# Archive NuGet packages to DevOps.
- task: PublishBuildArtifacts@1
displayName: Publish Artifact Packages
inputs:
PathtoPublish: 'artifacts\packages\$(BuildConfiguration)'
ArtifactName: 'Packages'
condition: succeeded()
- task: ms-vseng.MicroBuildTasks.521a94ea-9e68-468a-8167-6dcf361ea776.MicroBuildCleanup@1
displayName: Perform Cleanup Tasks
condition: succeededOrFailed()