Skip to content

Commit

Permalink
updated official build yml to latest version (dotnet#5877)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgsharp committed Jul 15, 2021
1 parent d6f7922 commit eb9cee6
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions build/vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ resources:
- container: UbuntuCrossArm64Container
image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-mlnet-cross-arm64-20210512124625-2e59a5f

phases:
jobs:
################################################################################
- phase: Linux_x64
- job: Linux_x64
################################################################################
variables:
BuildConfig: Release
OfficialBuildId: $(BUILD.BUILDNUMBER)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
queue:
pool:
name: DotNet-Build
demands:
- agent.os -equals linux
container: CentosContainer
container: CentosContainer
steps:
- script: ./restore.sh
displayName: restore all projects
Expand All @@ -45,19 +45,20 @@ phases:
artifactType: container

################################################################################
- phase: Linux_arm
- job: Linux_arm
################################################################################
variables:
BuildConfig: Release-netcoreapp3_1
OfficialBuildId: $(BUILD.BUILDNUMBER)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
queue:
ROOTFS_DIR: '/crossrootfs/arm'
pool:
name: DotNet-Build
demands:
- agent.os -equals linux
container: UbuntuCrossArmContainer
container: UbuntuCrossArmContainer
steps:
- script: ./restore.sh
displayName: restore all projects
Expand All @@ -75,19 +76,20 @@ phases:
artifactType: container

################################################################################
- phase: Linux_arm64
- job: Linux_arm64
################################################################################
variables:
BuildConfig: Release-netcoreapp3_1
OfficialBuildId: $(BUILD.BUILDNUMBER)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
queue:
ROOTFS_DIR: '/crossrootfs/arm64'
pool:
name: DotNet-Build
demands:
- agent.os -equals linux
container: UbuntuCrossArm64Container
container: UbuntuCrossArm64Container
steps:
- script: ./restore.sh
displayName: restore all projects
Expand All @@ -105,15 +107,15 @@ phases:
artifactType: container

################################################################################
- phase: MacOS
- job: MacOS
################################################################################
variables:
BuildConfig: Release
OfficialBuildId: $(BUILD.BUILDNUMBER)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
queue:
pool:
name: Hosted macOS
steps:
# Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
Expand All @@ -137,17 +139,17 @@ phases:
pathToPublish: $(Build.SourcesDirectory)/artifacts/pkgassets
artifactName: PackageAssets
artifactType: container

################################################################################
- phase: MacOS_Apple_Silicon
- job: MacOS_Apple_Silicon
################################################################################
variables:
BuildConfig: Release-netcoreapp3_1
OfficialBuildId: $(BUILD.BUILDNUMBER)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
queue:
pool:
vmImage: macOS-10.15
steps:
# Work around MacOS Homebrew image/environment bug: https://github.com/actions/virtual-environments/issues/2322#issuecomment-749211076
Expand All @@ -173,7 +175,7 @@ phases:
artifactType: container

################################################################################
- phase: Windows_x86
- job: Windows_x86
################################################################################
variables:
BuildConfig: Release
Expand All @@ -184,7 +186,7 @@ phases:
_SignType: real
_UseEsrpSigning: true
_TeamName: DotNetCore
queue:
pool:
name: DotNetCore-Build
demands:
- agent.os -equals Windows_NT
Expand Down Expand Up @@ -224,7 +226,7 @@ phases:
displayName: Dotnet Server Shutdown

################################################################################
- phase: Windows_x64
- job: Windows_x64
################################################################################
variables:
BuildConfig: Release
Expand All @@ -235,7 +237,7 @@ phases:
_SignType: real
_UseEsrpSigning: true
_TeamName: DotNetCore
queue:
pool:
name: DotNetCore-Build
demands:
- agent.os -equals Windows_NT
Expand Down Expand Up @@ -278,7 +280,7 @@ phases:
displayName: Dotnet Server Shutdown

################################################################################
- phase: Package
- job: Package
################################################################################
dependsOn:
- Linux_x64
Expand All @@ -301,7 +303,7 @@ phases:
_AzureDevopsFeedUrl: https://pkgs.dev.azure.com/dnceng/public/_packaging/MachineLearning/nuget/v3/index.json
_SymwebSymbolServerPath: https://microsoft.artifacts.visualstudio.com/DefaultCollection
_MsdlSymbolServerPath: https://microsoftpublicsymbols.artifacts.visualstudio.com/DefaultCollection
queue:
pool:
name: DotNetCore-Build
demands:
- agent.os -equals Windows_NT
Expand Down

0 comments on commit eb9cee6

Please sign in to comment.