2019-08-02 19:09:56 +03:00
|
|
|
trigger:
|
|
|
|
- master
|
2019-08-06 18:45:43 +03:00
|
|
|
- refs/tags/*
|
2020-03-09 22:43:27 +03:00
|
|
|
|
|
|
|
pr:
|
|
|
|
- master
|
2019-08-02 19:09:56 +03:00
|
|
|
|
|
|
|
resources:
|
|
|
|
repositories:
|
2019-08-29 15:27:25 +03:00
|
|
|
- repository: internal-templates
|
2019-08-02 19:09:56 +03:00
|
|
|
type: github
|
|
|
|
name: xamarin/yaml-templates
|
|
|
|
endpoint: xamarin
|
2020-12-10 13:21:59 +03:00
|
|
|
ref: refs/heads/main
|
2019-08-29 15:27:25 +03:00
|
|
|
- repository: components
|
|
|
|
type: github
|
|
|
|
name: xamarin/XamarinComponents
|
|
|
|
endpoint: xamarin
|
2021-05-07 22:19:14 +03:00
|
|
|
ref: refs/heads/master
|
2019-08-02 19:09:56 +03:00
|
|
|
|
|
|
|
jobs:
|
2019-08-29 15:27:25 +03:00
|
|
|
- template: .ci/build.yml@components
|
|
|
|
parameters:
|
2019-08-30 17:24:00 +03:00
|
|
|
timeoutInMinutes: 360
|
2020-02-09 20:56:00 +03:00
|
|
|
areaPath: 'DevDiv\Xamarin SDK\Android'
|
2019-08-29 15:27:25 +03:00
|
|
|
buildType: 'manifest'
|
2020-08-15 19:25:36 +03:00
|
|
|
linuxImage: 'ubuntu-latest'
|
2019-10-08 01:07:47 +03:00
|
|
|
validPackagePrefixes:
|
|
|
|
# Preferred prefixes
|
|
|
|
- Xamarin
|
|
|
|
- Mono
|
|
|
|
# Other product prefixes
|
|
|
|
- SkiaSharp
|
|
|
|
- HarfBuzzSharp
|
|
|
|
- mdoc
|
|
|
|
# Historical prefixes
|
|
|
|
- Masonry
|
|
|
|
- GoogleGson
|
|
|
|
- AndroidEasingFunctions
|
2020-05-15 00:43:00 +03:00
|
|
|
- Square
|
2020-08-24 20:55:07 +03:00
|
|
|
- JakeWharton.Picasso2OkHttp3Downloader
|
2020-09-22 11:02:11 +03:00
|
|
|
preBuildSteps:
|
|
|
|
- pwsh: |
|
|
|
|
dotnet tool install --global boots
|
|
|
|
boots https://aka.ms/xamarin-android-commercial-d16-8-macos
|
|
|
|
condition: eq(variables['System.JobName'], 'macos')
|
|
|
|
- pwsh: |
|
|
|
|
dotnet tool install --global boots
|
|
|
|
boots https://aka.ms/xamarin-android-commercial-d16-8-windows
|
|
|
|
condition: eq(variables['System.JobName'], 'windows')
|
2019-09-16 19:36:46 +03:00
|
|
|
tools:
|
2020-10-28 11:35:51 +03:00
|
|
|
- 'xamarin.androidbinderator.tool': '0.4.2'
|
|
|
|
- 'xamarin.androidx.migration.tool': '1.0.7.1'
|
2019-08-02 19:09:56 +03:00
|
|
|
- ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:
|
2020-12-10 13:21:59 +03:00
|
|
|
- template: sign-artifacts/jobs/v2.yml@internal-templates
|
2019-08-29 15:27:25 +03:00
|
|
|
parameters:
|
|
|
|
dependsOn: [ 'build' ]
|
2021-02-23 23:10:48 +03:00
|
|
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')
|