@@ -5,7 +5,7 @@ parameters:
55 osSubgroup : ' '
66 container : ' '
77 runtimeVariant : ' '
8- framework : net8 .0 # Specify the appropriate framework when running release branches (ie net6.0 for release/6.0)
8+ framework : net9 .0 # Specify the appropriate framework when running release branches (ie net6.0 for release/6.0)
99 liveLibrariesBuildConfig : ' '
1010 variables : {}
1111 runtimeType : ' coreclr'
@@ -229,7 +229,7 @@ jobs:
229229 artifactFileName : ' AndroidBDNApk.tar.gz'
230230 artifactName : ' AndroidBDNApk'
231231 displayName : ' Mono Android BDN Apk'
232-
232+
233233 # Download iOSMono and Native AOT tests
234234 - ${{ if or(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.runtimeType, 'iOSNativeAOT')) }} :
235235 - template : /eng/pipelines/common/download-artifact-step.yml
@@ -282,10 +282,10 @@ jobs:
282282 condition : and(succeeded(), ne(variables.runtimeFlavorName, 'Mono'), ne('${{ parameters.runtimeType }}', 'wasm'), not(in('${{ parameters.runtimeType }}', 'AndroidMono', 'iOSMono', 'iOSNativeAOT')))
283283
284284 # Copy the runtime directory into the testhost folder to include OOBs.
285- - 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\\ net8.0 -$(osGroup)-$(buildConfigUpper)-$(archType)\\ * $(Build.SourcesDirectory)\\ artifacts\\ bin\\ testhost\\ net8.0 -$(osGroup)-$(buildConfigUpper)-$(archType)\\ shared\\ Microsoft.NETCore.App\\ $(productVersion) /E /I /Y;xcopy $(Build.SourcesDirectory)\\ artifacts\\ bin\\ testhost\\ net8.0 -$(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"
285+ - 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\\ ${{parameters.framework}} -$(osGroup)-$(buildConfigUpper)-$(archType)\\ * $(Build.SourcesDirectory)\\ artifacts\\ bin\\ testhost\\ ${{parameters.framework}} -$(osGroup)-$(buildConfigUpper)-$(archType)\\ shared\\ Microsoft.NETCore.App\\ $(productVersion) /E /I /Y;xcopy $(Build.SourcesDirectory)\\ artifacts\\ bin\\ testhost\\ ${{parameters.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"
286286 displayName : " Create mono dotnet (Windows)"
287287 condition : and(and(succeeded(), eq(variables.runtimeFlavorName, 'Mono')), eq(variables.osGroup, 'windows'), not(in('${{ parameters.runtimeType }}', 'AndroidMono', 'iOSMono', 'iOSNativeAOT')))
288288
289- - 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/net8.0 -$(osGroup)-$(buildConfigUpper)-$(archType)/* $(Build.SourcesDirectory)/artifacts/bin/testhost/net8.0 -$(osGroup)-$(buildConfigUpper)-$(archType)/shared/Microsoft.NETCore.App/$(productVersion) -rf;cp $(Build.SourcesDirectory)/artifacts/bin/testhost/net8.0 -$(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"
289+ - 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/${{parameters.framework}} -$(osGroup)-$(buildConfigUpper)-$(archType)/* $(Build.SourcesDirectory)/artifacts/bin/testhost/${{parameters.framework}} -$(osGroup)-$(buildConfigUpper)-$(archType)/shared/Microsoft.NETCore.App/$(productVersion) -rf;cp $(Build.SourcesDirectory)/artifacts/bin/testhost/${{parameters.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"
290290 displayName : " Create mono dotnet (Linux)"
291291 condition : and(and(succeeded(), eq(variables.runtimeFlavorName, 'Mono')), ne(variables.osGroup, 'windows'), not(in('${{ parameters.runtimeType }}', 'AndroidMono', 'iOSMono', 'iOSNativeAOT')))
0 commit comments