Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CentOS 8 CI build #1539

Merged
merged 2 commits into from
Mar 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .vsts.pipelines/builds/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ jobs:
matrix:
Offline: { type: Offline}

- template: ../jobs/ci-linux.yml
parameters:
job: centos8
imageName: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-8-daa5116-20200325130212
reportPrebuiltLeaks: false
dagood marked this conversation as resolved.
Show resolved Hide resolved
systemLibunwind: false
matrix:
Production: { generatePrebuiltBurndown: true, runUnitTests: true }
Online: { type: Online }
Offline: { type: Offline }
Offline Portable: { type: Offline Portable }

- template: ../jobs/ci-linux.yml
parameters:
job: debian9
Expand Down
3 changes: 3 additions & 0 deletions .vsts.pipelines/jobs/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
generatePrebuiltBurndown: ${{ parameters.generatePrebuiltBurndown }}
rootDirectory: $(Build.SourcesDirectory)/..
stagingDirectory: $(rootDirectory)/sb/staging
systemLibunwind: ${{ parameters.systemLibunwind }}
tarballName: tarball_$(Build.BuildId)
SOURCE_BUILD_SKIP_SUBMODULE_CHECK: true
# Default type, can be overridden by matrix legs.
Expand Down Expand Up @@ -66,6 +67,7 @@ jobs:
$(docker.run) $(docker.src.map) $(docker.src.work) $(imageName) ./build.sh \
/p:Configuration=$(sb.configuration) \
/p:PortableBuild=$(sb.portable) \
/p:UseSystemLibunwind=$(systemLibunwind) \
dagood marked this conversation as resolved.
Show resolved Hide resolved
/p:ArchiveDownloadedPackages=$(sb.tarball) \
/p:FailOnPrebuiltBaselineError=$failOnBaselineError \
/p:ProdConBlobFeedUrlPrefix=$(prodConBlobFeedUrlPrefix) \
Expand Down Expand Up @@ -204,6 +206,7 @@ jobs:
$(docker.run) $(docker.tb.map) $(docker.tb.work) $networkArg $(imageName) "$(tarballName)/build.sh" -- \
/p:Configuration=$(sb.configuration) \
/p:PortableBuild=$(sb.portable) \
/p:UseSystemLibunwind=$(systemLibunwind) \
/p:FailOnPrebuiltBaselineError=true \
$poisonArg
du -h $(rootDirectory) | sort -h | tail -n 50
Expand Down
1 change: 1 addition & 0 deletions dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<PortableBuild Condition="'$(OS)' == 'Windows_NT'">true</PortableBuild>
<PortableBuild Condition="'$(PortableBuild)' == ''">false</PortableBuild>
<UseSystemLibraries Condition="'$(UseSystemLibraries)' == '' AND '$(PortableBuild)' != 'true'">true</UseSystemLibraries>
<UseSystemLibunwind Condition="'$(UseSystemLibunwind)' == ''">$(UseSystemLibraries)</UseSystemLibunwind>
<UseStableVersions Condition="'$(UseStableVersions)' == ''">true</UseStableVersions>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<!-- Production Dependencies -->
<PropertyGroup>
<PrivateSourceBuildReferencePackagesPackageVersion>1.0.0-beta.20107.1</PrivateSourceBuildReferencePackagesPackageVersion>
<PrivateSourceBuiltArtifactsPackageVersion>0.1.0-3.1.101.1</PrivateSourceBuiltArtifactsPackageVersion>
<PrivateSourceBuiltArtifactsPackageVersion>0.1.0-3.1.101.2</PrivateSourceBuiltArtifactsPackageVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion repos/coreclr.common.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<BuildArguments Condition="'$(OS)' != 'Windows_NT'">$(BuildArguments) -skiprestore</BuildArguments>
<BuildArguments Condition="'$(SkipDisablePgo)' != 'true'">$(BuildArguments) -nopgooptimize</BuildArguments>
<BuildArguments Condition="'$(OS)' != 'Windows_NT'">$(BuildArguments) msbuildonunsupportedplatform</BuildArguments>
<BuildArguments Condition="'$(UseSystemLibraries)' == 'true' AND '$(OS)' != 'Windows_NT'">$(BuildArguments) cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE</BuildArguments>
<BuildArguments Condition="'$(UseSystemLibunwind)' == 'true' AND '$(OS)' != 'Windows_NT'">$(BuildArguments) cmakeargs -DCLR_CMAKE_USE_SYSTEM_LIBUNWIND=TRUE</BuildArguments>
<BuildArguments Condition="$(Platform.Contains('arm')) AND '$(BuildArchitecture)' != 'arm64' ">$(BuildArguments) skipnuget cross -skiprestore cmakeargs -DFEATURE_GDBJIT=TRUE</BuildArguments>
<BuildArguments Condition="'$(TargetOS)' == 'FreeBSD'">$(BuildArguments) -clang6.0 /p:PortableBuild=true</BuildArguments>

Expand Down