Skip to content

Commit

Permalink
disable steps but keep phases to keep vsts build pipeline happy (#3423)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry-A authored Apr 19, 2019
1 parent 8f06a61 commit 9718aaf
Showing 1 changed file with 98 additions and 95 deletions.
193 changes: 98 additions & 95 deletions build/vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,110 +8,113 @@ resources:
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-8bba86b-20190314145033

phases:
# ################################################################################
# - phase: Linux
# ################################################################################
# variables:
# BuildConfig: Release
# OfficialBuildId: $(BUILD.BUILDNUMBER)
# DOTNET_CLI_TELEMETRY_OPTOUT: 1
# DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
# DOTNET_MULTILEVEL_LOOKUP: 0
# queue:
# name: DotNet-Build
# demands:
# - agent.os -equals linux
# container: CentosContainer
# steps:
# # Only build native assets to avoid conflicts.
# - script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
# displayName: Build
################################################################################
- phase: Linux
################################################################################
variables:
BuildConfig: Release
OfficialBuildId: $(BUILD.BUILDNUMBER)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
queue:
name: DotNet-Build
demands:
- agent.os -equals linux
container: CentosContainer
steps:
# Only build native assets to avoid conflicts.
- script: echo no-op
# - script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
displayName: Build

# - task: PublishBuildArtifacts@1
# displayName: Publish Linux package assets
# inputs:
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
# artifactName: PackageAssets
# artifactType: container
# - task: PublishBuildArtifacts@1
# displayName: Publish Linux package assets
# inputs:
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
# artifactName: PackageAssets
# artifactType: container

# ################################################################################
# - phase: MacOS
# ################################################################################
# variables:
# BuildConfig: Release
# OfficialBuildId: $(BUILD.BUILDNUMBER)
# DOTNET_CLI_TELEMETRY_OPTOUT: 1
# DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
# DOTNET_MULTILEVEL_LOOKUP: 0
# queue:
# name: DotNetCore-Build
# demands:
# - agent.os -equals Darwin
# steps:
# - script: brew update && brew install libomp && brew link libomp --force
# displayName: Install build dependencies
# # Only build native assets to avoid conflicts.
# - script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
# displayName: Build
################################################################################
- phase: MacOS
################################################################################
variables:
BuildConfig: Release
OfficialBuildId: $(BUILD.BUILDNUMBER)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
queue:
name: DotNetCore-Build
demands:
- agent.os -equals Darwin
steps:
- script: echo no-op
# - script: brew update && brew install libomp && brew link libomp --force
displayName: Install build dependencies
# Only build native assets to avoid conflicts.
# - script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
# displayName: Build

# - task: PublishBuildArtifacts@1
# displayName: Publish macOS package assets
# inputs:
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
# artifactName: PackageAssets
# artifactType: container
# - task: PublishBuildArtifacts@1
# displayName: Publish macOS package assets
# inputs:
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
# artifactName: PackageAssets
# artifactType: container

# ################################################################################
# - phase: Windows_x86
# ################################################################################
# variables:
# BuildConfig: Release
# OfficialBuildId: $(BUILD.BUILDNUMBER)
# DOTNET_CLI_TELEMETRY_OPTOUT: 1
# DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
# DOTNET_MULTILEVEL_LOOKUP: 0
# _SignType: real
# _UseEsrpSigning: true
# _TeamName: DotNetCore
# queue:
# name: DotNetCore-Build
# demands:
# - agent.os -equals Windows_NT
# steps:
################################################################################
- phase: Windows_x86
################################################################################
variables:
BuildConfig: Release
OfficialBuildId: $(BUILD.BUILDNUMBER)
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_MULTILEVEL_LOOKUP: 0
_SignType: real
_UseEsrpSigning: true
_TeamName: DotNetCore
queue:
name: DotNetCore-Build
demands:
- agent.os -equals Windows_NT
steps:

# - task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
# displayName: Install MicroBuild Signing Plugin
# inputs:
# signType: '$(_SignType)'
# zipSources: false
# esrpSigning: '$(_UseEsrpSigning)'
# env:
# TeamName: $(_TeamName)
# continueOnError: false
# condition: and(succeeded(), in(variables._SignType, 'real', 'test'))
# - task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
# displayName: Install MicroBuild Signing Plugin
# inputs:
# signType: '$(_SignType)'
# zipSources: false
# esrpSigning: '$(_UseEsrpSigning)'
# env:
# TeamName: $(_TeamName)
# continueOnError: false
# condition: and(succeeded(), in(variables._SignType, 'real', 'test'))

# # Only build native assets to avoid conflicts.
# - script: ./build.cmd -buildNative -$(BuildConfig) -buildArch=x86 -skipRIDAgnosticAssets
# displayName: Build
# Only build native assets to avoid conflicts.
# - script: ./build.cmd -buildNative -$(BuildConfig) -buildArch=x86 -skipRIDAgnosticAssets
- script: echo no-op
displayName: Build

# - task: MSBuild@1
# displayName: Sign Windows_x86 Binaries
# inputs:
# solution: build/sign.proj
# msbuildArguments: /p:SignType=$(_SignType)
# msbuildVersion: 15.0
# continueOnError: false
# - task: MSBuild@1
# displayName: Sign Windows_x86 Binaries
# inputs:
# solution: build/sign.proj
# msbuildArguments: /p:SignType=$(_SignType)
# msbuildVersion: 15.0
# continueOnError: false

# - task: PublishBuildArtifacts@1
# displayName: Publish Windows_x86 package assets
# inputs:
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
# artifactName: PackageAssets
# artifactType: container
# - task: PublishBuildArtifacts@1
# displayName: Publish Windows_x86 package assets
# inputs:
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
# artifactName: PackageAssets
# artifactType: container

# # Terminate all dotnet build processes.
# - script: $(Build.SourcesDirectory)/Tools/dotnetcli/dotnet.exe build-server shutdown
# displayName: Dotnet Server Shutdown
# Terminate all dotnet build processes.
# - script: $(Build.SourcesDirectory)/Tools/dotnetcli/dotnet.exe build-server shutdown
# displayName: Dotnet Server Shutdown

################################################################################
- phase: Windows_x64
Expand Down

0 comments on commit 9718aaf

Please sign in to comment.