Disable macOS build until vs4mac 7.7 is available
This commit is contained in:
Родитель
aff79c30c8
Коммит
e16a4681b7
98
.vsts-ci.yml
98
.vsts-ci.yml
|
@ -70,55 +70,55 @@ phases:
|
|||
ArtifactName: NugetPackages
|
||||
ArtifactType: Container
|
||||
|
||||
|
||||
- phase: macOS
|
||||
variables:
|
||||
NUGET_PACKAGES: $(Agent.WorkFolder)\.nuget
|
||||
NUGET_HTTP_CACHE_PATH: $(Agent.WorkFolder)\.nuget-http-cache
|
||||
CombinedConfiguration: Release|Any CPU
|
||||
CI_Build: true
|
||||
SourceLinkEnabled: false
|
||||
|
||||
queue:
|
||||
name: Hosted macOS
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
|
||||
- task: NuGetToolInstaller@0
|
||||
inputs:
|
||||
versionSpec: 4.7.0
|
||||
checkLatest: false
|
||||
|
||||
- task: NuGetCommand@2
|
||||
inputs:
|
||||
command: restore
|
||||
solution: src/Uno.UI-vs4mac.sln
|
||||
selectOrConfig: select
|
||||
includeNuGetOrg: true
|
||||
verbosityRestore: Normal
|
||||
|
||||
- task: MSBuild@1
|
||||
inputs:
|
||||
solution: Build/Uno.UI.proj
|
||||
msbuildLocationMethod: version
|
||||
msbuildVersion: latest
|
||||
msbuildArchitecture: x86
|
||||
msbuildArguments: /r /p:CheckExclusions=True "/p:CombinedConfiguration=$(CombinedConfiguration)" /detailedsummary /bl:$(build.artifactstagingdirectory)/build-macos.binlog
|
||||
clean: false
|
||||
maximumCpuCount: true
|
||||
restoreNugetPackages: false
|
||||
logProjectEvents: false
|
||||
createLogFile: false
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
# https://developercommunity.visualstudio.com/content/problem/284991/public-vsts-previouw-cant-set-build-number-of-pr-b.html
|
||||
condition: eq(variables['System.PullRequest.IsFork'], 'False')
|
||||
inputs:
|
||||
PathtoPublish: $(build.artifactstagingdirectory)
|
||||
ArtifactName: uno-macos-artifacts
|
||||
ArtifactType: Container
|
||||
# Disabled until VS4Mac is updated to 7.7 or later.
|
||||
#- phase: macOS
|
||||
# variables:
|
||||
# NUGET_PACKAGES: $(Agent.WorkFolder)\.nuget
|
||||
# NUGET_HTTP_CACHE_PATH: $(Agent.WorkFolder)\.nuget-http-cache
|
||||
# CombinedConfiguration: Release|Any CPU
|
||||
# CI_Build: true
|
||||
# SourceLinkEnabled: false
|
||||
#
|
||||
# queue:
|
||||
# name: Hosted macOS
|
||||
#
|
||||
# steps:
|
||||
# - checkout: self
|
||||
# clean: true
|
||||
#
|
||||
# - task: NuGetToolInstaller@0
|
||||
# inputs:
|
||||
# versionSpec: 4.7.0
|
||||
# checkLatest: false
|
||||
#
|
||||
# - task: NuGetCommand@2
|
||||
# inputs:
|
||||
# command: restore
|
||||
# solution: src/Uno.UI-vs4mac.sln
|
||||
# selectOrConfig: select
|
||||
# includeNuGetOrg: true
|
||||
# verbosityRestore: Normal
|
||||
#
|
||||
# - task: MSBuild@1
|
||||
# inputs:
|
||||
# solution: Build/Uno.UI.proj
|
||||
# msbuildLocationMethod: version
|
||||
# msbuildVersion: latest
|
||||
# msbuildArchitecture: x86
|
||||
# msbuildArguments: /r /p:CheckExclusions=True "/p:CombinedConfiguration=$(CombinedConfiguration)" /detailedsummary /bl:$(build.artifactstagingdirectory)/build-macos.binlog
|
||||
# clean: false
|
||||
# maximumCpuCount: true
|
||||
# restoreNugetPackages: false
|
||||
# logProjectEvents: false
|
||||
# createLogFile: false
|
||||
#
|
||||
# - task: PublishBuildArtifacts@1
|
||||
# # https://developercommunity.visualstudio.com/content/problem/284991/public-vsts-previouw-cant-set-build-number-of-pr-b.html
|
||||
# condition: eq(variables['System.PullRequest.IsFork'], 'False')
|
||||
# inputs:
|
||||
# PathtoPublish: $(build.artifactstagingdirectory)
|
||||
# ArtifactName: uno-macos-artifacts
|
||||
# ArtifactType: Container
|
||||
|
||||
- phase: Documentation
|
||||
variables:
|
||||
|
|
Загрузка…
Ссылка в новой задаче