forked from xamarin/XamarinComponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
60 lines (57 loc) · 1.76 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
trigger:
- master
- refs/tags/*
pr:
- master
resources:
repositories:
- repository: internal-templates
type: github
name: xamarin/yaml-templates
endpoint: xamarin
ref: refs/heads/main
- repository: components
type: github
name: xamarin/XamarinComponents
endpoint: xamarin
jobs:
- template: .ci/build.yml@components
parameters:
timeoutInMinutes: 360
areaPath: 'DevDiv\Xamarin SDK\Android'
buildType: 'manifest'
linuxImage: 'ubuntu-latest'
validPackagePrefixes:
# Preferred prefixes
- Xamarin
- Mono
# Other product prefixes
- SkiaSharp
- HarfBuzzSharp
- mdoc
# Historical prefixes
- Masonry
- GoogleGson
- AndroidEasingFunctions
- Square
- JakeWharton.Picasso2OkHttp3Downloader
preBuildSteps:
- pwsh: |
dotnet tool uninstall --global Cake.Tool
dotnet tool install --global Cake.Tool
dotnet tool install --global boots
boots https://aka.ms/xamarin-android-commercial-d16-8-macos
condition: eq(variables['System.JobName'], 'macos')
- pwsh: |
dotnet tool uninstall --global Cake.Tool
dotnet tool install --global Cake.Tool
dotnet tool install --global boots
boots https://aka.ms/xamarin-android-commercial-d16-8-windows
condition: eq(variables['System.JobName'], 'windows')
tools:
- 'xamarin.androidbinderator.tool': '0.4.2'
- 'xamarin.androidx.migration.tool': '1.0.7.1'
- ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:
- template: sign-artifacts/jobs/v2.yml@internal-templates
parameters:
dependsOn: [ 'build' ]