@@ -130,6 +130,54 @@ jobs:
130130 TSLint : false
131131 ToolLogsNotFoundAction : ' Standard'
132132
133+ - job : BuildAnyCPU
134+ # For now, this job just builds Microsoft.WindowsAppRuntime.Bootstrap.Net.dll in AnyCPU
135+ # Can be expanded to add any other binary as needed
136+ condition :
137+ eq(variables['useBuildOutputFromBuildId'],'')
138+ pool : $(ProjectReunionBuildPool)
139+ timeoutInMinutes : 120
140+ variables :
141+ buildPlatform : ' anycpu'
142+ buildConfiguration : ' Release'
143+ normalizedConfiguration : ' fre'
144+ PGOBuildMode : ' Optimize'
145+ buildOutputDir : $(Build.SourcesDirectory)\BuildOutput
146+ publishDir : $(Build.ArtifactStagingDirectory)
147+ artifactName : ' windowsappsdk_binaries'
148+ steps :
149+ - task : NuGetAuthenticate@0
150+ inputs :
151+ nuGetServiceConnections : ' TelemetryInternal'
152+
153+ - task : 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
154+ displayName : ' NuGet restore of packages'
155+ inputs :
156+ command : ' custom'
157+ arguments : ' restore ${{ parameters.WindowsAppRuntimeInsightsSourceDirectory }}\packages.config -ConfigFile ${{ parameters.WindowsAppRuntimeInsightsSourceDirectory }}\nuget.config -PackagesDirectory ${{ parameters.WindowsAppRuntimeInsightsSourceDirectory }}\packages'
158+
159+ - template : AzurePipelinesTemplates\WindowsAppSDK-BuildProject-Steps.yml
160+ parameters :
161+ solutionPath : ' dev\Bootstrap\CS\Microsoft.WindowsAppRuntime.Bootstrap.Net\Microsoft.WindowsAppRuntime.Bootstrap.Net.csproj'
162+ nugetConfigPath : nuget.config
163+ buildOutputDir : $(buildOutputDir)
164+ publishDir : $(publishDir)
165+
166+ - task : CopyFiles@2
167+ displayName : ' Copy AnyCpu-built binaries'
168+ inputs :
169+ SourceFolder : ' $(buildOutputDir)\$(buildConfiguration)\$(buildPlatform)\Microsoft.WindowsAppRuntime.Bootstrap.Net'
170+ Contents : |
171+ Microsoft.WindowsAppRuntime.Bootstrap.Net.dll
172+ TargetFolder : ' $(Build.ArtifactStagingDirectory)\FullNuget\lib\net5.0-windows10.0.18362.0'
173+ flattenFolders : false
174+
175+ - task : PublishBuildArtifacts@1
176+ displayName : ' Publish artifact: Full Nuget (Windows App Runtime DLLs)'
177+ inputs :
178+ PathtoPublish : ' $(Build.ArtifactStagingDirectory)\FullNuget'
179+ artifactName : FullNuget
180+
133181- job : BuildMRT
134182 pool : $(ProjectReunionBuildPool)
135183 strategy :
0 commit comments