Skip to content

Commit 1d8eddc

Browse files
Add Alma Linux leg to source build CI (#19995)
1 parent 3b16756 commit 1d8eddc

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

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

+17
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,23 @@ stages:
9191

9292
# CI - Stage 1 x64 legs ------------------------------------
9393

94+
# This AlmaLinux leg is intended to build with the min supported glibc version
95+
- template: ../jobs/vmr-build.yml
96+
parameters:
97+
# Changing the build name requires updating the referenced name in the source-build-sdk-diff-tests.yml pipeline
98+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
99+
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
100+
vmrBranch: ${{ variables.VmrBranch }}
101+
architecture: x64
102+
pool: ${{ parameters.pool_Linux }}
103+
container: ${{ variables.almaLinuxContainer }}
104+
buildFromArchive: false # 🚫
105+
enablePoison: false # 🚫
106+
excludeOmniSharpTests: true #
107+
runOnline: false # 🚫
108+
useMonoRuntime: false # 🚫
109+
withPreviousSDK: false # 🚫
110+
94111
- template: ../jobs/vmr-build.yml@self
95112
parameters:
96113
# 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

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
variables:
2+
- name: almaLinuxContainer
3+
value: mcr.microsoft.com/dotnet-buildtools/prereqs:almalinux-8-source-build
24
- name: alpineContainer
35
value: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.19-WithNode
46
- name: centOSStreamContainer
@@ -10,6 +12,8 @@ variables:
1012
- name: ubuntuArmContainer
1113
value: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-arm64
1214

15+
- name: almaLinuxName
16+
value: AlmaLinux8
1317
- name: alpineName
1418
value: Alpine319
1519
- name: centOSStreamName
@@ -19,6 +23,8 @@ variables:
1923
- name: ubuntuName
2024
value: Ubuntu2204
2125

26+
- name: almaLinuxX64Rid
27+
value: almalinux.8-x64
2228
- name: alpineX64Rid
2329
value: alpine.3.19-x64
2430
- name: centOSStreamX64Rid

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

+7
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ jobs:
4545
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
4646
publishTestResultsPr: true
4747

48+
- template: templates/jobs/sdk-diff-tests.yml
49+
parameters:
50+
buildName: ${{ format('{0}_Offline_MsftSdk', variables.almaLinuxName) }}
51+
targetRid: ${{ variables.almaLinuxX64Rid }}
52+
architecture: x64
53+
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
54+
4855
- template: templates/jobs/sdk-diff-tests.yml
4956
parameters:
5057
buildName: ${{ format('{0}_Offline_MsftSdk', variables.alpineName) }}

0 commit comments

Comments
 (0)