Skip to content

Commit 54a34c3

Browse files
Add Alma Linux SB CI leg to validate min glibc support (#42106)
1 parent 5d2b7f6 commit 54a34c3

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

eng/pipelines/templates/stages/vmr-build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,24 @@ stages:
144144
### Additional jobs for full build ###
145145
- ${{ if in(parameters.scope, 'full') }}:
146146

147+
# This AlmaLinux leg is intended to build with the min supported glibc version
148+
- template: ../jobs/vmr-build.yml
149+
parameters:
150+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
151+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
152+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
153+
vmrBranch: ${{ variables.VmrBranch }}
154+
architecture: x64
155+
pool: ${{ parameters.pool_Linux }}
156+
container: ${{ variables.almaLinuxContainer }}
157+
buildFromArchive: false # 🚫
158+
buildSourceOnly: true #
159+
enablePoison: false # 🚫
160+
excludeOmniSharpTests: true #
161+
runOnline: false # 🚫
162+
useMonoRuntime: false # 🚫
163+
withPreviousSDK: false # 🚫
164+
147165
- template: ../jobs/vmr-build.yml
148166
parameters:
149167
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline

eng/pipelines/templates/variables/vmr-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ variables:
1212
- name: VmrBranch
1313
value: ${{ replace(replace(variables['Build.SourceBranch'], 'refs/heads/', ''), 'refs/pull/', '') }}
1414

15+
- name: almaLinuxContainer
16+
value: mcr.microsoft.com/dotnet-buildtools/prereqs:almalinux-8-source-build
1517
- name: alpineContainer
1618
value: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
1719
- name: centOSStreamContainer
@@ -43,6 +45,8 @@ variables:
4345
- name: wasiCrossContainer
4446
value: mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-webassembly-amd64-net9.0
4547

48+
- name: almaLinuxName
49+
value: AlmaLinux8
4650
- name: alpineName
4751
value: Alpine319
4852
- name: centOSStreamName
@@ -52,6 +56,8 @@ variables:
5256
- name: ubuntuName
5357
value: Ubuntu2404
5458

59+
- name: almaLinuxX64Rid
60+
value: almalinux.8-x64
5561
- name: alpineX64Rid
5662
value: alpine.3.19-x64
5763
- name: centOSStreamX64Rid

src/SourceBuild/content/eng/pipelines/source-build-sdk-diff-tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ jobs:
4949
includeArtifactsSize: true
5050
publishTestResultsPr: true
5151

52+
- template: templates/jobs/sdk-diff-tests.yml
53+
parameters:
54+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
55+
targetRid: ${{ variables.almaLinuxX64Rid }}
56+
architecture: x64
57+
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
58+
5259
- template: templates/jobs/sdk-diff-tests.yml
5360
parameters:
5461
buildName: ${{ format('{0}_Online_MsftSdk', variables.alpineName) }}

0 commit comments

Comments
 (0)