Skip to content

Commit

Permalink
Add Alma Linux leg to source build CI (#19995)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons authored Jul 12, 2024
1 parent 3b16756 commit 1d8eddc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
17 changes: 17 additions & 0 deletions eng/pipelines/templates/stages/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,23 @@ stages:

# CI - Stage 1 x64 legs ------------------------------------

# This AlmaLinux leg is intended to build with the min supported glibc version
- template: ../jobs/vmr-build.yml
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: x64
pool: ${{ parameters.pool_Linux }}
container: ${{ variables.almaLinuxContainer }}
buildFromArchive: false # 🚫
enablePoison: false # 🚫
excludeOmniSharpTests: true #
runOnline: false # 🚫
useMonoRuntime: false # 🚫
withPreviousSDK: false # 🚫

- template: ../jobs/vmr-build.yml@self
parameters:
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
Expand Down
6 changes: 6 additions & 0 deletions eng/pipelines/templates/variables/vmr-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
variables:
- name: almaLinuxContainer
value: mcr.microsoft.com/dotnet-buildtools/prereqs:almalinux-8-source-build
- name: alpineContainer
value: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
- name: centOSStreamContainer
Expand All @@ -10,6 +12,8 @@ variables:
- name: ubuntuArmContainer
value: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-arm64

- name: almaLinuxName
value: AlmaLinux8
- name: alpineName
value: Alpine319
- name: centOSStreamName
Expand All @@ -19,6 +23,8 @@ variables:
- name: ubuntuName
value: Ubuntu2204

- name: almaLinuxX64Rid
value: almalinux.8-x64
- name: alpineX64Rid
value: alpine.3.19-x64
- name: centOSStreamX64Rid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ jobs:
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
publishTestResultsPr: true

- template: templates/jobs/sdk-diff-tests.yml
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
targetRid: ${{ variables.almaLinuxX64Rid }}
architecture: x64
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}

- template: templates/jobs/sdk-diff-tests.yml
parameters:
buildName: ${{ format('{0}_Offline_MsftSdk', variables.alpineName) }}
Expand Down

0 comments on commit 1d8eddc

Please sign in to comment.