* Only use ninja on Windows for Mono cross AOT compiler build
Ninja isn't installed on the CentOS Linux Docker image we're using. This got broken by https://github.com/dotnet/runtime/pull/47589.
* Fix Windows leg
buildConfig: release
platforms:
- Linux_x64
+ jobParameters:
+ buildArgs: -s mono+packs -c $(_BuildConfig)
+ /p:MonoCrossAOTTargetOS=Android+Browser /p:SkipMonoCrossJitConfigure=true /p:BuildMonoAOTCrossCompilerOnly=true
+ nameSuffix: CrossAOT_Mono
+ runtimeVariant: crossaot
+ dependsOn:
+ - mono_android_offsets
+ - mono_browser_offsets
+ monoCrossAOTTargetOS:
+ - Android
+ - Browser
+ isOfficialBuild: ${{ variables.isOfficialBuild }}
+ extraStepsTemplate: /eng/pipelines/common/upload-intermediate-artifacts-step.yml
+ extraStepsParameters:
+ name: MonoRuntimePacks
+
+ - template: /eng/pipelines/common/platform-matrix.yml
+ parameters:
+ jobTemplate: /eng/pipelines/common/global-build-job.yml
+ runtimeFlavor: mono
+ buildConfig: release
+ platforms:
- Windows_x64
jobParameters:
buildArgs: -s mono+packs -c $(_BuildConfig)
<OverridePackageId>Microsoft.NETCore.App.Runtime.AOT.$(RuntimeIdentifier).Cross.$(TargetCrossRid)</OverridePackageId>
<ArchiveName>dotnet-monocrossaot</ArchiveName>
<SharedFrameworkHostFileNameOverride>monocrossaot</SharedFrameworkHostFileNameOverride>
- <RuntimeIdentifiers>linux-x64;osx-x64</RuntimeIdentifiers>
+ <RuntimeIdentifiers>linux-x64;osx-x64;win-x64</RuntimeIdentifiers>
<GenerateInstallers>false</GenerateInstallers>
<PublishReadyToRun>false</PublishReadyToRun>
<HostJsonTargetPath>tools/</HostJsonTargetPath>