[VMR] Light up NativeAOT OSX short lanes (#19355)

This commit is contained in:
Jo Shields 2024-04-09 03:17:38 -04:00 committed by GitHub
parent 9858c6c389
commit cadcd99f30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 0 deletions

View file

@ -753,6 +753,28 @@ stages:
targetOS: osx
targetArchitecture: arm64
- template: ../jobs/vmr-build.yml
parameters:
buildName: OSX_ShortStack_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Mac }}
targetOS: osx
targetArchitecture: x64
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
- template: ../jobs/vmr-build.yml
parameters:
buildName: OSX_ShortStack_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: arm64
pool: ${{ parameters.pool_Mac }}
targetOS: osx
targetArchitecture: arm64
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
- template: ../jobs/vmr-build.yml
parameters:
buildName: Windows

View file

@ -30,6 +30,8 @@
<ShortStack Condition="'$(TargetOS)' == 'maccatalyst'">true</ShortStack>
<ShortStack Condition="'$(TargetOS)' == 'android'">true</ShortStack>
<ShortStack Condition="'$(TargetOS)' == 'linux-bionic'">true</ShortStack>
<!-- NativeAOT Mac builds are short -->
<ShortStack Condition="'$(TargetOS)' == 'osx' and '$(DotNetBuildRuntimeNativeAOTRuntimePack)' == 'true'">true</ShortStack>
<!-- Short stack builds stop at runtime, not the whole SDK -->
<RootRepo Condition="'$(ShortStack)' == 'true'">runtime</RootRepo>
</PropertyGroup>