Skip to content

Commit

Permalink
[VMR] Add verticals for Linux/Windows NativeAOT runtime packs (#45154)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger authored Nov 27, 2024
1 parent 2a10f1f commit 91cad4b
Show file tree
Hide file tree
Showing 2 changed files with 139 additions and 2 deletions.
137 changes: 137 additions & 0 deletions eng/pipelines/templates/stages/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,20 @@ stages:
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: LinuxBionic_NativeAOT_Shortstack
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: arm
pool: ${{ parameters.pool_Linux_Shortstack }}
container: ${{ variables.linuxBionicCrossContainer }}
crossRootFs: '/crossrootfs/x64'
targetOS: linux-bionic
targetArchitecture: arm
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: LinuxBionic_Shortstack
Expand Down Expand Up @@ -849,6 +863,20 @@ stages:
targetOS: linux
targetArchitecture: arm

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_Cross_ShortStack_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: arm
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.azurelinuxArmCrossContainer }}
crossRootFs: '/crossrootfs/arm'
targetOS: linux
targetArchitecture: arm
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_Cross
Expand Down Expand Up @@ -972,6 +1000,51 @@ stages:
extraProperties: /p:DotNetBuildMonoCrossAOT=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_Cross_ShortStack_Alpine_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.azurelinuxX64AlpineCrossContainer }}
crossRootFs: '/crossrootfs/x64'
targetOS: linux-musl
targetArchitecture: x64
targetRid: ${{ variables.linuxMuslX64Rid }}
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_Cross_ShortStack_Alpine_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: arm
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.azurelinuxArmAlpineCrossContainer }}
crossRootFs: '/crossrootfs/arm'
targetOS: linux-musl
targetArchitecture: arm
targetRid: ${{ variables.linuxMuslArmRid }}
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_Cross_ShortStack_Alpine_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: arm64
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.azurelinuxArm64AlpineCrossContainer }}
crossRootFs: '/crossrootfs/arm64'
targetOS: linux-musl
targetArchitecture: arm64
targetRid: ${{ variables.linuxMuslArm64Rid }}
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_Cross_ShortStack_Mono_CrossAOT
Expand All @@ -986,6 +1059,20 @@ stages:
extraProperties: /p:DotNetBuildMonoCrossAOT=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_ShortStack_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Linux_Shortstack }}
container: ${{ variables.azurelinuxX64CrossContainer }}
crossRootFs: '/crossrootfs/x64'
targetOS: linux
targetArchitecture: x64
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_Cross_ShortStack_Mono_CrossAOT
Expand Down Expand Up @@ -1030,6 +1117,20 @@ stages:
extraProperties: /p:DotNetBuildMonoEnableLLVM=true /p:DotNetBuildMonoBundleLLVMOptimizer=false
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: AzureLinux_x64_ShortStack_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: arm64
pool: ${{ parameters.pool_Linux_Shortstack }}
container: ${{ variables.azurelinuxArm64CrossContainer }}
crossRootFs: '/crossrootfs/arm64'
targetOS: linux
targetArchitecture: arm64
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: OSX
Expand Down Expand Up @@ -1122,6 +1223,18 @@ stages:
targetOS: windows
targetArchitecture: arm64

- template: ../jobs/vmr-build.yml
parameters:
buildName: Windows_ShortStack_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: arm64
pool: ${{ parameters.pool_Windows }}
targetOS: windows
targetArchitecture: arm64
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: Windows_Mono
Expand All @@ -1133,6 +1246,18 @@ stages:
targetOS: windows
targetArchitecture: x64

- template: ../jobs/vmr-build.yml
parameters:
buildName: Windows_ShortStack_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Windows }}
targetOS: windows
targetArchitecture: x64
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: Windows_ShortStack_Mono_CrossAOT
Expand Down Expand Up @@ -1167,6 +1292,18 @@ stages:
targetOS: windows
targetArchitecture: x86

- template: ../jobs/vmr-build.yml
parameters:
buildName: Windows_ShortStack_NativeAOT
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x86
pool: ${{ parameters.pool_Windows }}
targetOS: windows
targetArchitecture: x86
extraProperties: /p:DotNetBuildRuntimeNativeAOTRuntimePack=true
runTests: false

- template: ../jobs/vmr-build.yml
parameters:
buildName: Windows_Mono
Expand Down
4 changes: 2 additions & 2 deletions src/SourceBuild/content/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +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>
<!-- NativeAOT builds are short -->
<ShortStack Condition="'$(DotNetBuildRuntimeNativeAOTRuntimePack)' == 'true'">true</ShortStack>
<!-- Mono LLVM builds are short -->
<ShortStack Condition="'$(MonoEnableLLVM)' == 'true' or '$(MonoAOTEnableLLVM)' == 'true'">true</ShortStack>
<!-- Mono AOT cross compiler builds are short -->
Expand Down

0 comments on commit 91cad4b

Please sign in to comment.