This commit is contained in:
Shane Neuville 2020-04-15 13:44:17 -06:00
Родитель e96dcc9097
Коммит 4faead38d0
2 изменённых файлов: 319 добавлений и 247 удалений

Просмотреть файл

@ -63,42 +63,137 @@ stages:
- stage: windows - stage: windows
displayName: Build Windows displayName: Build Windows
jobs: jobs:
- template: build/steps/build-windows.yml - job: win_hosted
parameters: condition: eq(variables['vs2019VmPool'], 'Azure Pipelines')
name: win workspace:
clean: all
displayName: Build Windows Phase displayName: Build Windows Phase
vmImage: $(vs2019VmImage) timeoutInMinutes: 120
vmPool: $(vs2019VmPool) pool:
provisionatorPath : 'build/provisioning/provisioning.csx' name: $(vs2019VmPool)
vmImage: $(vs2019VmImage)
- template: build/steps/build-windows.yml demands:
parameters: msbuild
name: pages strategy:
matrix:
debug:
BuildConfiguration: 'Debug'
release:
BuildConfiguration: 'Release'
steps:
- template: build/steps/build-windows.yml
parameters:
provisionatorPath : 'build/provisioning/provisioning.csx'
- job: pages_hosted
condition: eq(variables['vs2019VmPool'], 'Azure Pipelines')
workspace:
clean: all
displayName: Build Pages Phase displayName: Build Pages Phase
vmImage: $(vs2019VmImage) timeoutInMinutes: 120
vmPool: $(vs2019VmPool) pool:
slnPath: build/Xamarin.Forms.Pages.sln name: $(vs2019VmPool)
includeUwp: false vmImage: $(vs2019VmImage)
includeAndroid: false demands:
includeNonUwpAndNonAndroid: false msbuild
includePages: true strategy:
matrix:
- job: nuget_pack debug:
workspace: BuildConfiguration: 'Debug'
clean: all release:
dependsOn: BuildConfiguration: 'Release'
- win steps:
displayName: Nuget Phase - template: build/steps/build-windows.yml
condition: succeeded() parameters:
pool: slnPath: build/Xamarin.Forms.Pages.sln
name: $(vs2019VmPool) includeUwp: false
vmImage: $(vs2019VmImage) includeAndroid: false
variables: includeNonUwpAndNonAndroid: false
FormsIdAppend: '' includePages: true
buildConfiguration: $(DefaultBuildConfiguration) - job: nuget_pack_hosted
nugetPackageVersion : $[ dependencies.win.outputs['debug.winbuild.xamarinformspackageversion'] ] workspace:
steps: clean: all
- template: build/steps/build-nuget.yml displayName: Nuget Phase
dependsOn:
- win_hosted
condition: succeeded()
pool:
name: $(vs2019VmPool)
vmImage: $(vs2019VmImage)
demands:
msbuild
variables:
FormsIdAppend: ''
buildConfiguration: $(DefaultBuildConfiguration)
nugetPackageVersion : $[ dependencies.win_hosted.outputs['debug.winbuild.xamarinformspackageversion'] ]
steps:
- template: build/steps/build-nuget.yml
- job: win_bots
condition: ne(variables['vs2019VmPool'], 'Azure Pipelines')
workspace:
clean: all
displayName: Build Windows Phase
timeoutInMinutes: 120
pool:
name: $(vs2019VmPool)
vmImage: $(vs2019VmImage)
demands:
- Agent.OS -equals Windows_NT
- msbuild
strategy:
matrix:
debug:
BuildConfiguration: 'Debug'
release:
BuildConfiguration: 'Release'
steps:
- template: build/steps/build-windows.yml
parameters:
provisionatorPath : 'build/provisioning/provisioning.csx'
- job: pages_bots
condition: ne(variables['vs2019VmPool'], 'Azure Pipelines')
workspace:
clean: all
displayName: Build Pages Phase
timeoutInMinutes: 120
pool:
name: $(vs2019VmPool)
vmImage: $(vs2019VmImage)
demands:
- Agent.OS -equals Windows_NT
- msbuild
strategy:
matrix:
debug:
BuildConfiguration: 'Debug'
release:
BuildConfiguration: 'Release'
steps:
- template: build/steps/build-windows.yml
parameters:
slnPath: build/Xamarin.Forms.Pages.sln
includeUwp: false
includeAndroid: false
includeNonUwpAndNonAndroid: false
includePages: true
- job: nuget_pack_bots
workspace:
clean: all
displayName: Nuget Phase
dependsOn:
- win_bots
condition: succeeded()
pool:
name: $(vs2019VmPool)
vmImage: $(vs2019VmImage)
demands:
- Agent.OS -equals Windows_NT
- msbuild
variables:
FormsIdAppend: ''
buildConfiguration: $(DefaultBuildConfiguration)
nugetPackageVersion : $[ dependencies.win_bots.outputs['debug.winbuild.xamarinformspackageversion'] ]
steps:
- template: build/steps/build-nuget.yml
- stage: android - stage: android
displayName: Build Android displayName: Build Android
@ -124,10 +219,10 @@ stages:
clean: all clean: all
displayName: OSX Phase displayName: OSX Phase
pool: pool:
name: $(osx2019VmPool)
vmImage: $(macOSXVmImage) vmImage: $(macOSXVmImage)
demands: demands:
- sh - sh
- msbuild
- Xamarin.iOS - Xamarin.iOS
variables: variables:
provisionator.osxPath : 'build/provisioning/provisioning.csx' provisionator.osxPath : 'build/provisioning/provisioning.csx'
@ -150,10 +245,10 @@ stages:
clean: all clean: all
displayName: OSX Phase displayName: OSX Phase
pool: pool:
name: $(osx2017VmPool)
vmImage: 'macOS-10.14' vmImage: 'macOS-10.14'
demands: demands:
- sh - sh
- msbuild
- Xamarin.iOS - Xamarin.iOS
variables: variables:
provisionator.osxPath : 'build/provisioning/provisioning.csx' provisionator.osxPath : 'build/provisioning/provisioning.csx'
@ -174,6 +269,8 @@ stages:
displayName: Sign Phase displayName: Sign Phase
pool: pool:
name: $(signVmImage) name: $(signVmImage)
demands:
msbuild
steps: steps:
- template: build/steps/build-sign.yml - template: build/steps/build-sign.yml
condition: and(succeeded(), or(eq(variables['Sign'], 'true'), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'],'refs/tags/')))) condition: and(succeeded(), or(eq(variables['Sign'], 'true'), or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'],'refs/tags/'))))

Просмотреть файл

@ -1,238 +1,213 @@
parameters: parameters:
name: '' # in the form type_platform_host
displayName: '' # the human name
vmImage: '' # the VM image
vmPool: '' # the VM pool
targetFolder: '' # the bootstrapper target
dependsOn: [] # the dependiencies
preBuildSteps: [] # any steps to run before the build
postBuildSteps: [] # any additional steps to run after the build
slnPath : 'Xamarin.Forms.sln' slnPath : 'Xamarin.Forms.sln'
csprojPath : 'Xamarin.Forms.Platform.UAP\Xamarin.Forms.Platform.UAP.csproj'
msbuildExtraArguments : '' msbuildExtraArguments : ''
artifactsTargetFolder: '$(build.artifactstagingdirectory)' artifactsTargetFolder: '$(build.artifactstagingdirectory)'
artifactsName: 'win_build' artifactsName: 'win_build'
nunitTestAdapterFolder: 'packages/NUnitTestAdapter.AnyVersion/build/'
nunitTestFolder: '$(build.sourcesdirectory)' nunitTestFolder: '$(build.sourcesdirectory)'
includeUwp: 'true' includeUwp: 'true'
includeAndroid: 'true' includeAndroid: 'true'
includeNonUwpAndNonAndroid: 'true' includeNonUwpAndNonAndroid: 'true'
includePages: 'false' includePages: 'false'
jobs:
- job: ${{ parameters.name }}
workspace:
clean: all
displayName: ${{ parameters.displayName }}
timeoutInMinutes: 120
pool:
name: ${{ parameters.vmPool }}
vmImage: ${{ parameters.vmImage }}
dependsOn: ${{ parameters.dependsOn }}
strategy:
matrix:
debug:
BuildConfiguration: 'Debug'
release:
BuildConfiguration: 'Release'
steps:
- checkout: self
clean: true
- script: build.cmd -Target provision
displayName: 'Cake Provision'
condition: eq(variables['provisioningCake'], 'true')
- task: xamops.azdevex.provisionator-task.provisionator@1 steps:
displayName: 'Provisionator' - checkout: self
condition: eq(variables['provisioning'], 'true') clean: true
inputs: - script: build.cmd -Target provision
provisioning_script: ${{ parameters.provisionatorPath }} displayName: 'Cake Provision'
provisioning_extra_args: ${{ parameters.provisionator.extraArguments }} condition: eq(variables['provisioningCake'], 'true')
# - task: UseDotNet@2 - task: xamops.azdevex.provisionator-task.provisionator@1
# displayName: "Install .net core $(DOTNET_VERSION)" displayName: 'Provisionator'
# condition: ne(variables['DOTNET_VERSION'], '') condition: eq(variables['provisioning'], 'true')
# inputs: inputs:
# version: $(DOTNET_VERSION) provisioning_script: ${{ parameters.provisionatorPath }}
# packageType: 'sdk' provisioning_extra_args: ${{ parameters.provisionator.extraArguments }}
- task: NuGetToolInstaller@1 # - task: UseDotNet@2
displayName: 'Use NuGet $(NUGET_VERSION)' # displayName: "Install .net core $(DOTNET_VERSION)"
condition: ne(variables['NUGET_VERSION'], '') # condition: ne(variables['DOTNET_VERSION'], '')
inputs: # inputs:
versionSpec: $(NUGET_VERSION) # version: $(DOTNET_VERSION)
# packageType: 'sdk'
- task: NuGetCommand@2 - task: NuGetToolInstaller@1
displayName: 'NuGet restore ${{ parameters.slnPath }}' displayName: 'Use NuGet $(NUGET_VERSION)'
inputs: condition: ne(variables['NUGET_VERSION'], '')
restoreSolution: ${{ parameters.slnPath }} inputs:
feedsToUse: config versionSpec: $(NUGET_VERSION)
nugetConfigPath: 'DevopsNuget.config'
- script: build.cmd -Target BuildForNuget -ScriptArgs '-configuration="$(BuildConfiguration)"','-Build_ArtifactStagingDirectory="$(Build.ArtifactStagingDirectory)"' - task: NuGetCommand@2
name: winbuild displayName: 'NuGet restore ${{ parameters.slnPath }}'
displayName: 'Build Projects For Nuget' inputs:
condition: ne(${{ parameters.includePages }}, 'true') restoreSolution: ${{ parameters.slnPath }}
feedsToUse: config
nugetConfigPath: 'DevopsNuget.config'
- task: MSBuild@1 - script: build.cmd -Target BuildForNuget -ScriptArgs '-configuration="$(BuildConfiguration)"','-Build_ArtifactStagingDirectory="$(Build.ArtifactStagingDirectory)"'
displayName: 'Build solution ${{ parameters.slnPath }}' name: winbuild
name: winslnbuild displayName: 'Build Projects For Nuget'
condition: eq(${{ parameters.includePages }}, 'true') condition: ne(${{ parameters.includePages }}, 'true')
inputs:
solution: ${{ parameters.slnPath }}
configuration: '$(BuildConfiguration)'
msbuildArguments: ${{ parameters.msbuildExtraArguments }} /bl:$(Build.ArtifactStagingDirectory)\win-$(BuildConfiguration).binlog
- task: VSTest@2 - task: MSBuild@1
displayName: 'Unit Tests' displayName: 'Build solution ${{ parameters.slnPath }}'
inputs: name: winslnbuild
testAssemblyVer2: | condition: eq(${{ parameters.includePages }}, 'true')
**/bin/$(BuildConfiguration)/Xamarin.Forms.Core.UnitTests.dll inputs:
**/bin/$(BuildConfiguration)/**/Xamarin.Forms.DualScreen.UnitTests.dll solution: ${{ parameters.slnPath }}
**/bin/$(BuildConfiguration)/Xamarin.Forms.Pages.UnitTests.dll configuration: '$(BuildConfiguration)'
**/bin/$(BuildConfiguration)/**/Xamarin.Forms.Xaml.UnitTests.dll msbuildArguments: ${{ parameters.msbuildExtraArguments }} /bl:$(Build.ArtifactStagingDirectory)\win-$(BuildConfiguration).binlog
searchFolder: ${{ parameters.nunitTestFolder }}
codeCoverageEnabled: true
testRunTitle: '$(BuildConfiguration)_UnitTests'
configuration: '$(BuildConfiguration)'
diagnosticsEnabled: true
- task: CopyFiles@2 - task: VSTest@2
displayName: 'Copy Files dlls' displayName: 'Unit Tests'
condition: eq(${{ parameters.includeNonUwpAndNonAndroid }}, 'true') inputs:
inputs: testAssemblyVer2: |
Contents: | **/bin/$(BuildConfiguration)/Xamarin.Forms.Core.UnitTests.dll
Stubs/**/bin/**/*.dll **/bin/$(BuildConfiguration)/**/Xamarin.Forms.DualScreen.UnitTests.dll
Microsoft.XamlStandard/bin/**/*.dll **/bin/$(BuildConfiguration)/Xamarin.Forms.Pages.UnitTests.dll
Microsoft.XamlStandard.Design/bin/**/*.dll **/bin/$(BuildConfiguration)/**/Xamarin.Forms.Xaml.UnitTests.dll
Xamarin.Forms.Core/bin/**/*.dll searchFolder: ${{ parameters.nunitTestFolder }}
Xamarin.Forms.Core/bin/**/*.pdb codeCoverageEnabled: true
Xamarin.Forms.Core/bin/**/*.mdb testRunTitle: '$(BuildConfiguration)_UnitTests'
Xamarin.Forms.Xaml/bin/**/*.dll configuration: '$(BuildConfiguration)'
Xamarin.Forms.Xaml/bin/**/*.pdb diagnosticsEnabled: true
Xamarin.Forms.Xaml/bin/**/*.mdb
Xamarin.Forms.Platform/bin/**/*.dll
Xamarin.Forms.Build.Tasks/bin/**/*.dll
Xamarin.Forms.Core.Design/bin/**/*.dll
Xamarin.Forms.Xaml.Design/bin/**/*.dll
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Platform.MacOS/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.MacOS/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.iOS/bin/iPhoneSimulator/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.MacOS/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Core.UnitTests/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Xaml.UnitTests/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.pdb
Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.dll
Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.mdb
Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll
**/*.binlog
TargetFolder: ${{ parameters.artifactsTargetFolder }} - task: CopyFiles@2
displayName: 'Copy Files dlls'
condition: eq(${{ parameters.includeNonUwpAndNonAndroid }}, 'true')
inputs:
Contents: |
Stubs/**/bin/**/*.dll
Microsoft.XamlStandard/bin/**/*.dll
Microsoft.XamlStandard.Design/bin/**/*.dll
Xamarin.Forms.Core/bin/**/*.dll
Xamarin.Forms.Core/bin/**/*.pdb
Xamarin.Forms.Core/bin/**/*.mdb
Xamarin.Forms.Xaml/bin/**/*.dll
Xamarin.Forms.Xaml/bin/**/*.pdb
Xamarin.Forms.Xaml/bin/**/*.mdb
Xamarin.Forms.Platform/bin/**/*.dll
Xamarin.Forms.Build.Tasks/bin/**/*.dll
Xamarin.Forms.Core.Design/bin/**/*.dll
Xamarin.Forms.Xaml.Design/bin/**/*.dll
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.iOS/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Material.iOS/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Material.Tizen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Platform.MacOS/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.MacOS/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Maps/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.iOS/bin/iPhoneSimulator/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.MacOS/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Core.UnitTests/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Xaml.UnitTests/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.Tizen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.Tizen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Build.Tasks.Core/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.WPF/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.GTK/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Platform.WPF/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Platform.GTK/bin/$(BuildConfiguration)/**/*.pdb
Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.dll
Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.mdb
Microsoft.XamlStandard/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll
**/*.binlog
- task: CopyFiles@2 TargetFolder: ${{ parameters.artifactsTargetFolder }}
displayName: 'Copy UWP'
condition: eq(${{ parameters.includeUwp }}, 'true')
inputs:
Contents: |
Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.pri
Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.xr.xml
Xamarin.Forms.Platform.UAP/obj/$(BuildConfiguration)/**/*.xaml
Xamarin.Forms.Platform.UAP/Properties/Xamarin.Forms.Platform.UAP.rd.xml
Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.pri
Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.xbf
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll
TargetFolder: ${{ parameters.artifactsTargetFolder }} - task: CopyFiles@2
displayName: 'Copy UWP'
condition: eq(${{ parameters.includeUwp }}, 'true')
inputs:
Contents: |
Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.pri
Xamarin.Forms.Platform.UAP/bin/$(BuildConfiguration)/**/*.xr.xml
Xamarin.Forms.Platform.UAP/obj/$(BuildConfiguration)/**/*.xaml
Xamarin.Forms.Platform.UAP/Properties/Xamarin.Forms.Platform.UAP.rd.xml
Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.pri
Xamarin.Forms.Maps.UWP/bin/$(BuildConfiguration)/**/*.xbf
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll
TargetFolder: ${{ parameters.artifactsTargetFolder }}
- task: CopyFiles@2
displayName: 'Copy Android Files dlls'
condition: eq('${{ parameters.includeAndroid }}', true)
inputs:
Contents: |
Stubs/**/bin/**/*.dll
Xamarin.Forms.Platform.Android/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Android/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.Android.FormsViewGroup/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Android.FormsViewGroup/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.Android/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll
**/*.binlog
TargetFolder: ${{ parameters.artifactsTargetFolder }}
- task: CopyFiles@2
displayName: 'Copy Android Files dlls'
condition: eq('${{ parameters.includeAndroid }}', true)
inputs:
Contents: |
Stubs/**/bin/**/*.dll
Xamarin.Forms.Platform.Android/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Android/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.Android.FormsViewGroup/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Android.FormsViewGroup/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Material.Android/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Maps.Android/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Platform.Android.AppLinks/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.DualScreen/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.DualScreen.UnitTests/bin/$(BuildConfiguration)/**/*.dll
**/*.binlog
- task: CopyFiles@2 TargetFolder: ${{ parameters.artifactsTargetFolder }}
displayName: 'Copy Pages Files dlls'
condition: eq('${{ parameters.includePages }}', true)
inputs:
Contents: |
Xamarin.Forms.Pages/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Pages/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Pages/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Pages.Azure/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Pages.Azure/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Pages.Azure/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Pages.UnitTests/bin/$(BuildConfiguration)/**/*.dll
TargetFolder: ${{ parameters.artifactsTargetFolder }} - task: CopyFiles@2
displayName: 'Copy Pages Files dlls'
condition: eq('${{ parameters.includePages }}', true)
inputs:
Contents: |
Xamarin.Forms.Pages/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Pages/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Pages/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Pages.Azure/bin/$(BuildConfiguration)/**/*.dll
Xamarin.Forms.Pages.Azure/bin/$(BuildConfiguration)/**/*.pdb
Xamarin.Forms.Pages.Azure/bin/$(BuildConfiguration)/**/*.mdb
Xamarin.Forms.Pages.UnitTests/bin/$(BuildConfiguration)/**/*.dll
- task: PublishBuildArtifacts@1 TargetFolder: ${{ parameters.artifactsTargetFolder }}
displayName: 'Publish Artifact: ${{ parameters.artifactsName }}'
condition: always() - task: PublishBuildArtifacts@1
inputs: displayName: 'Publish Artifact: ${{ parameters.artifactsName }}'
ArtifactName: ${{ parameters.artifactsName }} condition: always()
inputs:
ArtifactName: ${{ parameters.artifactsName }}