Skip to content

Commit

Permalink
Prepare Core-Setup for repo consolidation (dotnet/core-setup#8709)
Browse files Browse the repository at this point in the history
Prepare Core-Setup for repo consolidation (dotnet/core-setup#8709)

Commit migrated from dotnet/core-setup@fd3b342
  • Loading branch information
ViktorHofer authored Oct 31, 2019
1 parent 3a20c85 commit 5d8f4b1
Show file tree
Hide file tree
Showing 113 changed files with 714 additions and 250 deletions.
28 changes: 14 additions & 14 deletions eng/pipelines/installer/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ stages:
- stage: Build
jobs:
# -------- Build Bash legs (Linux and FreeBSD) --------
- template: /eng/jobs/bash-build.yml
- template: /eng/pipelines/jobs/bash-build.yml
parameters:
crossBuild: true
name: Linux_Arm
Expand All @@ -67,7 +67,7 @@ stages:
skipTests: true
targetArchitecture: arm

- template: /eng/jobs/bash-build.yml
- template: /eng/pipelines/jobs/bash-build.yml
parameters:
crossBuild: true
name: Linux_Arm64
Expand All @@ -79,7 +79,7 @@ stages:

# # Tizen build only for PR build
# - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
# - template: /eng/jobs/bash-build.yml
# - template: /eng/pipelines/jobs/bash-build.yml
# parameters:
# additionalMSBuildArgs: /p:OverridePackageSource=https:%2F%2Ftizen.myget.org/F/dotnet-core/api/v3/index.json /p:OutputRid=tizen.5.0.0-armel
# additionalRunArgs: -e ROOTFS_DIR=/crossrootfs/armel.tizen.build
Expand All @@ -91,7 +91,7 @@ stages:
# skipTests: true
# targetArchitecture: armel

- template: /eng/jobs/bash-build.yml
- template: /eng/pipelines/jobs/bash-build.yml
parameters:
additionalMSBuildArgs: /p:OutputRid=linux-musl-arm64
crossBuild: true
Expand All @@ -102,15 +102,15 @@ stages:
skipTests: true
targetArchitecture: arm64

- template: /eng/jobs/bash-build.yml
- template: /eng/pipelines/jobs/bash-build.yml
parameters:
additionalMSBuildArgs: /p:OutputRid=linux-musl-x64
name: Linux_x64_Alpine39
dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.9-WithNode-0fc54a3-20190918214015
portableBuild: false
targetArchitecture: x64

- template: /eng/jobs/bash-build.yml
- template: /eng/pipelines/jobs/bash-build.yml
parameters:
name: Linux_x64_glibc
dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-50f0d02-20190918214028
Expand All @@ -129,7 +129,7 @@ stages:
portableBuild: true
targetArchitecture: x64

- template: /eng/jobs/bash-build.yml
- template: /eng/pipelines/jobs/bash-build.yml
parameters:
additionalMSBuildArgs: /p:OutputRid=rhel.6-x64
name: Linux_x64_Rhel6
Expand All @@ -138,34 +138,34 @@ stages:
targetArchitecture: x64

# -------- Build OSX (macOS) leg --------
- template: /eng/jobs/osx-build.yml
- template: /eng/pipelines/jobs/osx-build.yml
parameters:
name: OSX

# -------- Build Windows legs --------
# Windows Arm
- template: /eng/jobs/windows-build.yml
- template: /eng/pipelines/jobs/windows-build.yml
parameters:
name: Windows_Arm
skipTests: true
targetArchitecture: arm

# Windows Arm64
- template: /eng/jobs/windows-build.yml
- template: /eng/pipelines/jobs/windows-build.yml
parameters:
name: Windows_Arm64
skipTests: true
targetArchitecture: arm64

# Windows x64
- template: /eng/jobs/windows-build.yml
- template: /eng/pipelines/jobs/windows-build.yml
parameters:
name: Windows_x64
publishRidAgnosticPackages: true
targetArchitecture: x64

# Windows x86
- template: /eng/jobs/windows-build.yml
- template: /eng/pipelines/jobs/windows-build.yml
parameters:
name: Windows_x86
targetArchitecture: x86
Expand All @@ -176,7 +176,7 @@ stages:
dependsOn: Build
jobs:
# Prep artifacts: sign them and upload pipeline artifacts expected by stages-based publishing.
- template: /eng/jobs/prepare-signed-artifacts.yml
- template: /eng/pipelines/jobs/prepare-signed-artifacts.yml
parameters:
PublishRidAgnosticPackagesFromJobName: Windows_x64
# Publish to Build Asset Registry in order to generate the ReleaseConfigs artifact.
Expand All @@ -188,7 +188,7 @@ stages:
name: NetCoreInternal-Pool
queue: buildpool.windows.10.amd64.vs2017

- template: /eng/stages/publish.yml
- template: /eng/pipelines/stages/publish.yml
parameters:
# Publish channel configuration. The publish template wraps Arcade publishing and adds some
# extras that aren't implemented in Arcade yet.
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- script: >-
build.cmd -ci
-projects $(Build.SourcesDirectory)\publish\prepare-artifacts.proj
-projects $(Build.SourcesDirectory)\src\publish\prepare-artifacts.proj
/p:Configuration=Release
/p:PublishRidAgnosticPackagesFromJobName=${{ parameters.PublishRidAgnosticPackagesFromJobName }}
/p:SignType=$(SignType)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
- script: >-
build.cmd -ci
-projects $(Build.SourcesDirectory)\publish\${{ parameters.projectName }}.proj
-projects $(Build.SourcesDirectory)\src\publish\${{ parameters.projectName }}.proj
/p:Channel=${{ parameters.dependency.channel.storage }}
/p:Configuration=Release
$(_CommonPublishArgs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
df -h
$(DockerRunMSBuild) ${{ parameters.image }} $(MSBuildScript) \
--ci \
/root/coresetup/tools-local/tasks/core-setup.tasks.csproj \
/root/coresetup/tools-local/tasks/installer.tasks/installer.tasks.csproj \
/t:Restore /t:Build /t:CreateHostMachineInfoFile \
$(CommonMSBuildArgs) \
/bl:msbuild.${{ parameters.distroRid }}.traversaldependencies.binlog
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ stages:
variables:
- template: /eng/common/templates/post-build/common-variables.yml
jobs:
- template: /eng/jobs/run-publish-project.yml
- template: /eng/pipelines/jobs/run-publish-project.yml
parameters:
projectName: publish-blobs
dependency: ${{ dependency }}
Expand Down Expand Up @@ -40,7 +40,7 @@ stages:
variables:
- template: /eng/common/templates/post-build/common-variables.yml
jobs:
- template: /eng/jobs/run-publish-project.yml
- template: /eng/pipelines/jobs/run-publish-project.yml
parameters:
projectName: publish-final
dependency: ${{ dependency }}
Loading

0 comments on commit 5d8f4b1

Please sign in to comment.