Skip to content

Commit 8f06a61

Browse files
authored
[AutoML] temporarily disable all but x64 platforms -- don't want to do native builds and can't find a way around that with the current VSTS pipeline (#3420)
1 parent d1b9e62 commit 8f06a61

File tree

1 file changed

+95
-95
lines changed

1 file changed

+95
-95
lines changed

build/vsts-ci.yml

Lines changed: 95 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -8,110 +8,110 @@ resources:
88
image: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-mlnet-8bba86b-20190314145033
99

1010
phases:
11-
################################################################################
12-
- phase: Linux
13-
################################################################################
14-
variables:
15-
BuildConfig: Release
16-
OfficialBuildId: $(BUILD.BUILDNUMBER)
17-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
18-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
19-
DOTNET_MULTILEVEL_LOOKUP: 0
20-
queue:
21-
name: DotNet-Build
22-
demands:
23-
- agent.os -equals linux
24-
container: CentosContainer
25-
steps:
26-
# Only build native assets to avoid conflicts.
27-
- script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
28-
displayName: Build
11+
# ################################################################################
12+
# - phase: Linux
13+
# ################################################################################
14+
# variables:
15+
# BuildConfig: Release
16+
# OfficialBuildId: $(BUILD.BUILDNUMBER)
17+
# DOTNET_CLI_TELEMETRY_OPTOUT: 1
18+
# DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
19+
# DOTNET_MULTILEVEL_LOOKUP: 0
20+
# queue:
21+
# name: DotNet-Build
22+
# demands:
23+
# - agent.os -equals linux
24+
# container: CentosContainer
25+
# steps:
26+
# # Only build native assets to avoid conflicts.
27+
# - script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
28+
# displayName: Build
2929

30-
- task: PublishBuildArtifacts@1
31-
displayName: Publish Linux package assets
32-
inputs:
33-
pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
34-
artifactName: PackageAssets
35-
artifactType: container
30+
# - task: PublishBuildArtifacts@1
31+
# displayName: Publish Linux package assets
32+
# inputs:
33+
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
34+
# artifactName: PackageAssets
35+
# artifactType: container
3636

37-
################################################################################
38-
- phase: MacOS
39-
################################################################################
40-
variables:
41-
BuildConfig: Release
42-
OfficialBuildId: $(BUILD.BUILDNUMBER)
43-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
44-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
45-
DOTNET_MULTILEVEL_LOOKUP: 0
46-
queue:
47-
name: DotNetCore-Build
48-
demands:
49-
- agent.os -equals Darwin
50-
steps:
51-
- script: brew update && brew install libomp && brew link libomp --force
52-
displayName: Install build dependencies
53-
# Only build native assets to avoid conflicts.
54-
- script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
55-
displayName: Build
37+
# ################################################################################
38+
# - phase: MacOS
39+
# ################################################################################
40+
# variables:
41+
# BuildConfig: Release
42+
# OfficialBuildId: $(BUILD.BUILDNUMBER)
43+
# DOTNET_CLI_TELEMETRY_OPTOUT: 1
44+
# DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
45+
# DOTNET_MULTILEVEL_LOOKUP: 0
46+
# queue:
47+
# name: DotNetCore-Build
48+
# demands:
49+
# - agent.os -equals Darwin
50+
# steps:
51+
# - script: brew update && brew install libomp && brew link libomp --force
52+
# displayName: Install build dependencies
53+
# # Only build native assets to avoid conflicts.
54+
# - script: ./build.sh -buildNative -$(BuildConfig) -skipRIDAgnosticAssets
55+
# displayName: Build
5656

57-
- task: PublishBuildArtifacts@1
58-
displayName: Publish macOS package assets
59-
inputs:
60-
pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
61-
artifactName: PackageAssets
62-
artifactType: container
57+
# - task: PublishBuildArtifacts@1
58+
# displayName: Publish macOS package assets
59+
# inputs:
60+
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
61+
# artifactName: PackageAssets
62+
# artifactType: container
6363

64-
################################################################################
65-
- phase: Windows_x86
66-
################################################################################
67-
variables:
68-
BuildConfig: Release
69-
OfficialBuildId: $(BUILD.BUILDNUMBER)
70-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
71-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
72-
DOTNET_MULTILEVEL_LOOKUP: 0
73-
_SignType: real
74-
_UseEsrpSigning: true
75-
_TeamName: DotNetCore
76-
queue:
77-
name: DotNetCore-Build
78-
demands:
79-
- agent.os -equals Windows_NT
80-
steps:
64+
# ################################################################################
65+
# - phase: Windows_x86
66+
# ################################################################################
67+
# variables:
68+
# BuildConfig: Release
69+
# OfficialBuildId: $(BUILD.BUILDNUMBER)
70+
# DOTNET_CLI_TELEMETRY_OPTOUT: 1
71+
# DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
72+
# DOTNET_MULTILEVEL_LOOKUP: 0
73+
# _SignType: real
74+
# _UseEsrpSigning: true
75+
# _TeamName: DotNetCore
76+
# queue:
77+
# name: DotNetCore-Build
78+
# demands:
79+
# - agent.os -equals Windows_NT
80+
# steps:
8181

82-
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
83-
displayName: Install MicroBuild Signing Plugin
84-
inputs:
85-
signType: '$(_SignType)'
86-
zipSources: false
87-
esrpSigning: '$(_UseEsrpSigning)'
88-
env:
89-
TeamName: $(_TeamName)
90-
continueOnError: false
91-
condition: and(succeeded(), in(variables._SignType, 'real', 'test'))
82+
# - task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
83+
# displayName: Install MicroBuild Signing Plugin
84+
# inputs:
85+
# signType: '$(_SignType)'
86+
# zipSources: false
87+
# esrpSigning: '$(_UseEsrpSigning)'
88+
# env:
89+
# TeamName: $(_TeamName)
90+
# continueOnError: false
91+
# condition: and(succeeded(), in(variables._SignType, 'real', 'test'))
9292

93-
# Only build native assets to avoid conflicts.
94-
- script: ./build.cmd -buildNative -$(BuildConfig) -buildArch=x86 -skipRIDAgnosticAssets
95-
displayName: Build
93+
# # Only build native assets to avoid conflicts.
94+
# - script: ./build.cmd -buildNative -$(BuildConfig) -buildArch=x86 -skipRIDAgnosticAssets
95+
# displayName: Build
9696

97-
- task: MSBuild@1
98-
displayName: Sign Windows_x86 Binaries
99-
inputs:
100-
solution: build/sign.proj
101-
msbuildArguments: /p:SignType=$(_SignType)
102-
msbuildVersion: 15.0
103-
continueOnError: false
97+
# - task: MSBuild@1
98+
# displayName: Sign Windows_x86 Binaries
99+
# inputs:
100+
# solution: build/sign.proj
101+
# msbuildArguments: /p:SignType=$(_SignType)
102+
# msbuildVersion: 15.0
103+
# continueOnError: false
104104

105-
- task: PublishBuildArtifacts@1
106-
displayName: Publish Windows_x86 package assets
107-
inputs:
108-
pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
109-
artifactName: PackageAssets
110-
artifactType: container
105+
# - task: PublishBuildArtifacts@1
106+
# displayName: Publish Windows_x86 package assets
107+
# inputs:
108+
# pathToPublish: $(Build.SourcesDirectory)/bin/obj/packages
109+
# artifactName: PackageAssets
110+
# artifactType: container
111111

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

116116
################################################################################
117117
- phase: Windows_x64

0 commit comments

Comments
 (0)