File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,12 +122,13 @@ extends:
122122 - template : eng/build.yml@self
123123 parameters :
124124 agentOs : Linux
125- jobName : Build_CentOS_8_Stream_Debug_x64
126- container : centosStream8
125+ jobName : Build_CentOS_Stream_9_Debug_x64
126+ container : centosStream9
127127 buildConfiguration : Debug
128128 buildArchitecture : x64
129129 linuxPortable : false
130130 runTests : true
131+ additionalBuildParameters : ' /p:OSName=centos.8'
131132 - template : eng/build.yml@self
132133 parameters :
133134 agentOs : Linux
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ stages:
8989 - template : eng/build-pr.yml
9090 parameters :
9191 agentOs : Linux
92- jobName : Build_CentOS_8_Stream_Debug_x64
93- container : ' mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8 '
92+ jobName : Build_CentOS_Stream_9_Debug_x64
93+ container : ' mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9 '
9494 buildConfiguration : Debug
9595 buildArchitecture : x64
9696 linuxPortable : false
Original file line number Diff line number Diff line change @@ -123,11 +123,11 @@ You can also build the repository using a Docker image which has the required pr
123123The example below creates a Docker volume named `vmr` and clones and builds the VMR there.
124124
125125```sh
126- docker run --rm -it -v vmr:/vmr -w /vmr mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream8
126+ docker run --rm -it -v vmr:/vmr -w /vmr mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9
127127git clone https://github.com/dotnet/dotnet .
128128./prep.sh && ./build.sh --online
129129mkdir -p $HOME/.dotnet
130- tar -zxf artifacts/x64/Release/dotnet-sdk-8.0.100-centos.8 -x64.tar.gz -C $HOME/.dotnet
130+ tar -zxf artifacts/x64/Release/dotnet-sdk-8.0.100-centos.9 -x64.tar.gz -C $HOME/.dotnet
131131ln -s $HOME/.dotnet/dotnet /usr/bin/dotnet
132132```
133133
Original file line number Diff line number Diff line change 5050 <SharedFrameworkInstallerFileRid Condition =" '$(IsDebianBaseDistro)' == 'true' OR '$(IsRPMBasedDistro)' == 'true' " >$(InstallerTargetArchitecture)</SharedFrameworkInstallerFileRid >
5151
5252 <!-- Use the "x64" Rid when downloading Linux runtime dependencies Debian package. -->
53+ <!-- Use centos 8 rid as runtime doesn't float based on the version -->
5354 <RuntimeDepsInstallerFileRid >$(CoreSetupRid)</RuntimeDepsInstallerFileRid >
55+ <RuntimeDepsInstallerFileRid Condition =" '$(CoreSetupRid)' == 'centos.9-x64' " >centos.8-x64</RuntimeDepsInstallerFileRid >
5456 <RuntimeDepsInstallerFileRid Condition =" '$(IsDebianBaseDistro)' == 'true' " >$(Architecture)</RuntimeDepsInstallerFileRid >
5557 <RuntimeDepsInstallerFileRid Condition =" '$(IsRPMBasedDistro)' == 'true' And '$(UsePortableLinuxSharedFramework)' != 'true' " >$(OSName)-$(InstallerTargetArchitecture)</RuntimeDepsInstallerFileRid >
5658 <RuntimeDepsInstallerFileRid Condition =" '$(CoreSetupRid)' == 'rhel.7-x64' And '$(Architecture)' == 'Arm64' And '$(UsePortableLinuxSharedFramework)' == 'true' " >rhel.7-aarch64</RuntimeDepsInstallerFileRid >
You can’t perform that action at this time.
0 commit comments