@@ -133,6 +133,9 @@ jobs:
133133 - ${{ parameters.framework }}
134134 steps :
135135 # Extra steps that will be passed to the performance template and run before sending the job to helix (all of which is done in the template)
136+ - script : |
137+ $(Build.SourcesDirectory)/eng/common/msbuild.sh $(Build.SourcesDirectory)/eng/testing/performance/add_properties_to_pipeline.proj /t:SetVariables
138+ displayName: Add Properties To Pipeline Env
136139
137140 # Optionally download live-built libraries
138141 - ${{ if and(ne(parameters.liveLibrariesBuildConfig, ''), eq(parameters.skipLiveLibrariesDownload, 'false')) }} :
@@ -372,10 +375,10 @@ jobs:
372375 condition : and(succeeded(), ne(variables.runtimeFlavorName, 'Mono'), ne('${{ parameters.runtimeType }}', 'wasm'))
373376
374377 # Copy the runtime directory into the testhost folder to include OOBs.
375- - script : " build.cmd -subset libs.pretest -configuration release -ci -arch $(archType) -testscope innerloop /p:RuntimeArtifactsPath=$(librariesDownloadDir)\\ bin\\ mono\\ $(osGroup).$(archType).$(buildConfigUpper) /p:RuntimeFlavor=mono;xcopy $(Build.SourcesDirectory)\\ artifacts\\ bin\\ runtime\\ $(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)\\ * $(Build.SourcesDirectory)\\ artifacts\\ bin\\ testhost\\ $(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)\\ shared\\ Microsoft.NETCore.App\\ 7.0.0 /E /I /Y;xcopy $(Build.SourcesDirectory)\\ artifacts\\ bin\\ testhost\\ $(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)\\ * $(Build.SourcesDirectory)\\ .dotnet-mono /E /I /Y;copy $(Build.SourcesDirectory)\\ artifacts\\ bin\\ coreclr\\ $(osGroup).$(archType).$(buildConfigUpper)\\ corerun.exe $(Build.SourcesDirectory)\\ .dotnet-mono\\ shared\\ Microsoft.NETCore.App\\ 7.0.0 \\ corerun.exe"
378+ - script : " build.cmd -subset libs.pretest -configuration release -ci -arch $(archType) -testscope innerloop /p:RuntimeArtifactsPath=$(librariesDownloadDir)\\ bin\\ mono\\ $(osGroup).$(archType).$(buildConfigUpper) /p:RuntimeFlavor=mono;xcopy $(Build.SourcesDirectory)\\ artifacts\\ bin\\ runtime\\ $(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)\\ * $(Build.SourcesDirectory)\\ artifacts\\ bin\\ testhost\\ $(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)\\ shared\\ Microsoft.NETCore.App\\ $(productVersion) /E /I /Y;xcopy $(Build.SourcesDirectory)\\ artifacts\\ bin\\ testhost\\ $(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)\\ * $(Build.SourcesDirectory)\\ .dotnet-mono /E /I /Y;copy $(Build.SourcesDirectory)\\ artifacts\\ bin\\ coreclr\\ $(osGroup).$(archType).$(buildConfigUpper)\\ corerun.exe $(Build.SourcesDirectory)\\ .dotnet-mono\\ shared\\ Microsoft.NETCore.App\\ $(productVersion) \\ corerun.exe"
376379 displayName : " Create mono dotnet (Windows)"
377380 condition : and(and(succeeded(), eq(variables.runtimeFlavorName, 'Mono')), eq(variables.osGroup, 'windows'), not(in('${{ parameters.runtimeType }}', 'AndroidMono', 'iOSMono', 'AndroidMobileNet6', 'iOSMobileNet6')))
378381
379- - script : " mkdir $(Build.SourcesDirectory)/.dotnet-mono;./build.sh -subset libs.pretest -configuration release -ci -arch $(archType) -testscope innerloop /p:RuntimeArtifactsPath=$(librariesDownloadDir)/bin/mono/$(osGroup).$(archType).$(buildConfigUpper) /p:RuntimeFlavor=mono;cp $(Build.SourcesDirectory)/artifacts/bin/runtime/$(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)/* $(Build.SourcesDirectory)/artifacts/bin/testhost/$(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)/shared/Microsoft.NETCore.App/7.0.0 -rf;cp $(Build.SourcesDirectory)/artifacts/bin/testhost/$(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)/* $(Build.SourcesDirectory)/.dotnet-mono -r;cp $(Build.SourcesDirectory)/artifacts/bin/coreclr/$(osGroup).$(archType).$(buildConfigUpper)/corerun $(Build.SourcesDirectory)/.dotnet-mono/shared/Microsoft.NETCore.App/7.0.0 /corerun"
382+ - script : " mkdir $(Build.SourcesDirectory)/.dotnet-mono;./build.sh -subset libs.pretest -configuration release -ci -arch $(archType) -testscope innerloop /p:RuntimeArtifactsPath=$(librariesDownloadDir)/bin/mono/$(osGroup).$(archType).$(buildConfigUpper) /p:RuntimeFlavor=mono;cp $(Build.SourcesDirectory)/artifacts/bin/runtime/$(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)/* $(Build.SourcesDirectory)/artifacts/bin/testhost/$(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)/shared/Microsoft.NETCore.App/$(productVersion) -rf;cp $(Build.SourcesDirectory)/artifacts/bin/testhost/$(_Framework)-$(osGroup)-$(buildConfigUpper)-$(archType)/* $(Build.SourcesDirectory)/.dotnet-mono -r;cp $(Build.SourcesDirectory)/artifacts/bin/coreclr/$(osGroup).$(archType).$(buildConfigUpper)/corerun $(Build.SourcesDirectory)/.dotnet-mono/shared/Microsoft.NETCore.App/$(productVersion) /corerun"
380383 displayName : " Create mono dotnet (Linux)"
381384 condition : and(and(succeeded(), eq(variables.runtimeFlavorName, 'Mono')), ne(variables.osGroup, 'windows'), not(in('${{ parameters.runtimeType }}', 'AndroidMono', 'iOSMono', 'AndroidMobileNet6', 'iOSMobileNet6')))
0 commit comments