Skip to content
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
24 changes: 0 additions & 24 deletions eng/pipelines/common/platform-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,30 +112,6 @@ jobs:
crossrootfsDir: '/crossrootfs/arm64'
${{ insert }}: ${{ parameters.jobParameters }}

# Linux rhel6 x64

- ${{ if or(containsValue(parameters.platforms, 'Linux_rhel6_x64'), eq(parameters.platformGroup, 'all')) }}:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Linux
osSubgroup: _rhel6
archType: x64
platform: Linux_rhel6_x64
container:
image: centos-6-f39df28-20191023143802
registry: mcr
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ if ne(parameters.managedOsxBuild, true) }}:
managedTestBuildOsGroup: Linux_rhel
${{ if eq(parameters.managedOsxBuild, true) }}:
managedTestBuildOsGroup: OSX
${{ insert }}: ${{ parameters.jobParameters }}

# Linux x64

- ${{ if or(containsValue(parameters.platforms, 'Linux_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}:
Expand Down
2 changes: 0 additions & 2 deletions eng/pipelines/coreclr/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
- Linux_arm64
- Linux_musl_arm64
- Linux_musl_x64
- Linux_rhel6_x64
- Linux_x64
- OSX_x64
- Windows_NT_arm
Expand Down Expand Up @@ -117,7 +116,6 @@ jobs:
- Linux_arm64
- Linux_musl_x64
- Linux_musl_arm64
- Linux_rhel6_x64
- Linux_x64
- OSX_x64
- Windows_NT_x64
Expand Down
1 change: 0 additions & 1 deletion eng/pipelines/coreclr/internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ stages:
- build_Linux_arm64_release
- build_Linux_musl_x64_release
- build_Linux_musl_arm64_release
- build_Linux_rhel6_x64_release
- build_Linux_x64_release
- build_OSX_x64_release
- build_Windows_NT_x64_release
Expand Down
1 change: 0 additions & 1 deletion eng/pipelines/coreclr/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ jobs:
platforms:
- Linux_arm64
- Linux_musl_x64
- Linux_rhel6_x64
- OSX_x64
- Windows_NT_arm
- Windows_NT_arm64
Expand Down
8 changes: 1 addition & 7 deletions eng/pipelines/coreclr/templates/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ jobs:
- ${{ if eq(parameters.buildConfig, 'Release') }}:
- name: stripSymbolsArg
value: '-stripsymbols'
- name: portableBuildArg
value: ''
# Ensure that we produce os-specific packages for the following distros:
- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubgroup, '_rhel6')) }}:
- name: portableBuildArg
value: '-portablebuild=false'
- name: clangArg
value: ''
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
Expand Down Expand Up @@ -190,7 +184,7 @@ jobs:
SecretsFilter: 'dotnetfeed-storage-access-key-1,microsoft-symbol-server-pat,symweb-symbol-server-pat'

# Build packages
- script: $(coreClrRepoRootDir)build-packages$(scriptExt) -BuildArch=$(archType) -BuildType=$(_BuildConfig) $(crossPackagesArg) $(officialBuildIdArg) $(portableBuildArg) -ci
- script: $(coreClrRepoRootDir)build-packages$(scriptExt) -BuildArch=$(archType) -BuildType=$(_BuildConfig) $(crossPackagesArg) $(officialBuildIdArg) -ci
displayName: Build packages

# Publish official build
Expand Down
8 changes: 0 additions & 8 deletions eng/pipelines/coreclr/templates/helix-queues-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ jobs:
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.38.Arm64)Ubuntu.1804.ArmArch@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035

# Linux rhel6 x64
- ${{ if eq(parameters.platform, 'Linux_rhel6_x64') }}:
# TODO: enable RedHat.6.Amd64.Open once https://github.com/dotnet/runtime/issues/168 is resolved
# - ${{ if eq(variables['System.TeamProject'], 'public') }}:
# - RedHat.6.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- RedHat.6.Amd64

# Linux x64
- ${{ if eq(parameters.platform, 'Linux_x64') }}:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
Expand Down
8 changes: 0 additions & 8 deletions eng/pipelines/installer/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,6 @@ stages:
portableBuild: true
targetArchitecture: x64

- template: ${{ variables['pipelinesPath'] }}/jobs/bash-build.yml
parameters:
additionalMSBuildArgs: /p:OutputRid=rhel.6-x64
name: Linux_x64_Rhel6
dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-6-50f0d02-20190918213956
portableBuild: false
targetArchitecture: x64

# -------- Build OSX (macOS) leg --------
- template: ${{ variables['pipelinesPath'] }}/jobs/osx-build.yml
parameters:
Expand Down
27 changes: 26 additions & 1 deletion eng/pipelines/libraries/.azure-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,33 @@ variables:
jobs:
- template: /eng/pipelines/common/checkout-job.yml

#
# CoreCLR builds.
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml
buildConfig: release
platforms:
- OSX_x64
- Windows_NT_x64
- Windows_NT_x86
- Linux_x64
- Linux_arm
- Linux_arm64
- Linux_musl_x64
- Linux_musl_arm64
jobParameters:
testGroup: innerloop

#
# Libraries builds.
#
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/libraries/build-job.yml
buildConfig: Release
platforms:
- Linux_rhel6_x64
- Windows_NT_x86
- ${{ if eq(variables['isFullMatrix'], true) }}:
- OSX_x64
Expand All @@ -84,6 +105,7 @@ jobs:
${{ if eq(variables['isOfficialBuild'], false) }}:
runTests: true
testScope: innerloop
liveCoreClrBuildConfig: release

- ${{ if eq(variables['isFullMatrix'], false) }}:
- template: /eng/pipelines/common/platform-matrix.yml
Expand All @@ -102,6 +124,7 @@ jobs:
testScope: innerloop
framework: netcoreapp
runTests: true
liveCoreClrBuildConfig: release

- template: /eng/pipelines/common/platform-matrix.yml
parameters:
Expand All @@ -119,6 +142,7 @@ jobs:
jobParameters:
isOfficialBuild: ${{ variables['isOfficialBuild'] }}
framework: netcoreapp
liveCoreClrBuildConfig: release

- template: /eng/pipelines/common/platform-matrix.yml
parameters:
Expand Down Expand Up @@ -149,5 +173,6 @@ jobs:
jobParameters:
isOfficialBuild: ${{ variables['isOfficialBuild'] }}
framework: allConfigurations
liveCoreClrBuildConfig: release
${{ if eq(variables['isOfficialBuild'], false) }}:
runTests: true
13 changes: 6 additions & 7 deletions eng/pipelines/libraries/base-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

enableTelemetry: ${{ parameters.isOfficialBuild }} # TODO: figure out if it's needed
container: ${{ parameters.container }}
condition: ${{ parameters.condition }}
condition: and(succeeded(), ${{ parameters.condition }})
helixRepo: dotnet/runtime
pool: ${{ parameters.pool }}
variables:
Expand All @@ -38,18 +38,13 @@ jobs:
- _msbuildCommonParameters: ''
- _stripSymbolsArg: ''
- _runtimeOSArg: ''
- _portableArg: ''
- _finalFrameworkArg: -framework ${{ parameters.framework }}
- _buildScript: $(_buildScriptFileName)$(scriptExt)
- _warnAsErrorArg: ''
- _testScopeArg: ''

- ${{ if ne(parameters.testScope, '') }}:
- _testScopeArg: -testscope ${{ parameters.testScope }}

- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubGroup, '_rhel6')) }}:
- _runtimeOSArg: /p:RuntimeOS=rhel.6
- _portableArg: /p:PortableBuild=false

- ${{ if and(eq(parameters.osGroup, 'Linux'), eq(parameters.osSubGroup, '_musl')) }}:
- _runtimeOSArg: /p:RuntimeOS=linux-musl
Expand Down Expand Up @@ -78,6 +73,10 @@ jobs:
- _coreClrArtifactName: 'CoreCLRProduct_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.liveCoreClrBuildConfig }}'
- _coreClrOverridePathArg: ' /p:CoreCLROverridePath=$(_coreClrDownloadPath)'

# WebAssembly uses linux implementation detail
- ${{ if eq(parameters.osGroup, 'WebAssembly') }}:
- _coreClrArtifactName: 'CoreCLRProduct_Linux_x64_${{ parameters.liveCoreClrBuildConfig }}'

# Windows variables
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
- _runtimeOSArg: /p:RuntimeOS=win10
Expand All @@ -88,7 +87,7 @@ jobs:
- ${{ if eq(parameters.isOfficialBuild, 'true') }}:
- _stripSymbolsArg: -stripSymbols

- _buildArguments: -configuration ${{ parameters.buildConfig }} -ci -arch ${{ parameters.archType }} $(_finalFrameworkArg) $(_stripSymbolsArg) $(_testScopeArg) $(_warnAsErrorArg) $(_runtimeOSArg) $(_portableArg) $(_msbuildCommonParameters) $(_coreClrOverridePathArg)
- _buildArguments: -configuration ${{ parameters.buildConfig }} -ci -arch ${{ parameters.archType }} $(_finalFrameworkArg) $(_stripSymbolsArg) $(_testScopeArg) $(_warnAsErrorArg) $(_runtimeOSArg) $(_msbuildCommonParameters) $(_coreClrOverridePathArg)
- ${{ parameters.variables }}

dependsOn:
Expand Down
5 changes: 4 additions & 1 deletion eng/pipelines/libraries/build-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ jobs:

${{ if ne(parameters.liveCoreClrBuildConfig, '') }}:
dependsOn:
- ${{ format('coreclr_product_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.liveCoreClrBuildConfig) }}
- ${{ if ne(parameters.osGroup, 'WebAssembly') }}:
- ${{ format('coreclr_product_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.liveCoreClrBuildConfig) }}
- ${{ if eq(parameters.osGroup, 'WebAssembly') }}:
- ${{ format('coreclr_product_build_{0}{1}_{2}_{3}', 'linux', parameters.osSubgroup, 'x64', parameters.liveCoreClrBuildConfig) }}

variables:
- _skipTestRestoreArg: /p:SkipTestRestore=true
Expand Down
4 changes: 0 additions & 4 deletions eng/pipelines/libraries/helix-queues-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ jobs:
- ${{ if eq(parameters.jobParameters.isFullMatrix, true) }}:
- \(Alpine.38.Arm64.Open\)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035

# Linux rhel6 x64
- ${{ if eq(parameters.platform, 'Linux_rhel6_x64') }}:
- RedHat.6.Amd64.Open

# Linux x64
- ${{ if eq(parameters.platform, 'Linux_x64') }}:
- ${{ if eq(parameters.jobParameters.isFullMatrix, true) }}:
Expand Down
1 change: 0 additions & 1 deletion eng/pipelines/libraries/outerloop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- ${{ if eq(variables['isFullMatrix'], true) }}:
- Windows_NT_x64
- ${{ if eq(variables['includeLinuxOuterloop'], true) }}:
- Linux_rhel6_x64
- ${{ if eq(variables['isFullMatrix'], true) }}:
- Linux_x64
- Linux_arm
Expand Down