Skip to content

Commit 9674590

Browse files
authored
Update pipeline and pipeline info in README.md (#239)
The pipeline has been moved to the devdiv org, and in the future can be split into public/internal pipelines in the dotnet org if necessary.
1 parent 1c09dcc commit 9674590

File tree

2 files changed

+18
-30
lines changed

2 files changed

+18
-30
lines changed

Diff for: README.md

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# android-tools
2+
[![Build Status](https://dev.azure.com/devdiv/DevDiv/_apis/build/status%2FXamarin%2FAndroid%2Fandroid-tools?branchName=main)](https://dev.azure.com/devdiv/DevDiv/_build/latest?definitionId=22338&branchName=main)
23

34
**android-tools** is a repo to easily share code between the
45
[xamarin-android][android] repo and the .NET for Android commercial tooling,
@@ -7,20 +8,6 @@ submodule the entire **android** repo, which is gigantic.
78

89
[android]: https://github.com/xamarin/xamarin-android
910

10-
# Build Status
11-
12-
| Platform | Status |
13-
|-----------------------|--------|
14-
| **macOS** | [![macOS Build Status][azure-macOS-icon]][azure-macOS-status] |
15-
| **Windows** | [![Windows Build Status][azure-Windows-icon]][azure-Windows-status] |
16-
17-
18-
[azure-macOS-icon]: https://dev.azure.com/xamarin/public/_apis/build/status/xamarin-android-tools
19-
[azure-macOS-status]: https://dev.azure.com/xamarin/public/_build/latest?definitionId=3
20-
[azure-Windows-icon]: https://dev.azure.com/xamarin/public/_apis/build/status/xamarin-android-tools
21-
[azure-Windows-status]: https://dev.azure.com/xamarin/public/_build/latest?definitionId=3
22-
23-
2411
# Build Requirements
2512

2613
**-android-tools** requires .NET 6 or later.
@@ -71,7 +58,7 @@ The major version in the `nuget.version` file should be updated when a breaking
7158
The minor version should be updated when new functionality is added.
7259
The patch version will be automatically determined by the number of commits since the last version change.
7360

74-
Xamarin.Android.Tools.AndroidSdk nupkg files are produced for every build which occurrs on [Azure Devops](https://dev.azure.com/xamarin/Xamarin/_build?definitionId=2&_a=summary).
61+
Xamarin.Android.Tools.AndroidSdk nupkg files are produced for every build which occurrs on [Azure Devops](https://devdiv.visualstudio.com/DevDiv/_build?definitionId=22338).
7562
To download one of these packages, navigate to the build you are interested in and click on the `Artifacts` button.
7663

7764
Alternatively, "unofficial" releases are currently hosted on the [Xamarin.Android](https://dev.azure.com/xamarin/public/_packaging?_a=feed&feed=Xamarin.Android) feed.
@@ -85,8 +72,6 @@ Add the feed to your project's `NuGet.config` to reference these packages:
8572
</configuration>
8673
```
8774

88-
An Azure Pipelines [Release ](https://dev.azure.com/xamarin/public/_release?view=mine&_a=releases&definitionId=12) can be manually triggered to push a new version to this feed.
89-
9075
# Mailing Lists
9176

9277
To discuss this project, and participate in the design, we use the

Diff for: azure-pipelines.yaml

+16-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Android.Tools $(Rev:r)
1+
name: android-tools $(Rev:r)
22

33
trigger:
44
- main
@@ -10,7 +10,7 @@ pr:
1010

1111
parameters:
1212
- name: ApiScanSourceBranch
13-
default: 'refs/heads/main'
13+
default: refs/heads/main
1414

1515
# Global variables
1616
variables:
@@ -21,22 +21,17 @@ jobs:
2121
- job: build
2222
displayName: Build and Test
2323
timeoutInMinutes: 60
24-
cancelTimeoutInMinutes: 2
25-
2624
strategy:
2725
matrix:
2826
macOS:
29-
vmImage: macOS-12
27+
vmImage: macOS-13
3028
windows:
3129
vmImage: windows-2022
3230
Codeql.Enabled: true
33-
3431
pool:
3532
vmImage: $(vmImage)
36-
3733
workspace:
3834
clean: all
39-
4035
steps:
4136
- checkout: self
4237
clean: true
@@ -46,11 +41,14 @@ jobs:
4641
inputs:
4742
version: $(DotNetCoreVersion)
4843

49-
- script: dotnet build Xamarin.Android.Tools.sln -bl:$(Build.ArtifactStagingDirectory)/build.binlog
50-
displayName: 'Build solution Xamarin.Android.Tools.sln'
44+
- task: DotNetCoreCLI@2
45+
displayName: Build solution Xamarin.Android.Tools.sln
46+
inputs:
47+
projects: Xamarin.Android.Tools.sln
48+
arguments: -bl:$(Build.ArtifactStagingDirectory)/build.binlog
5149

5250
- task: DotNetCoreCLI@2
53-
displayName: 'Run Tests'
51+
displayName: Run Tests
5452
inputs:
5553
command: test
5654
projects: bin/TestDebug-net*/**/*-Tests.dll
@@ -63,8 +61,13 @@ jobs:
6361
Write-Host "##vso[task.setvariable variable=xat.nuget.version]$version"
6462
condition: and(succeeded(), eq(variables['agent.os'], 'Windows_NT'))
6563
66-
- script: dotnet pack src/Xamarin.Android.Tools.AndroidSdk/Xamarin.Android.Tools.AndroidSdk.csproj -p:Version=$(xat.nuget.version) -p:PackageOutputPath=$(Build.ArtifactStagingDirectory) -bl:$(Build.ArtifactStagingDirectory)/pack.binlog
67-
displayName: 'Build NuGet'
64+
- task: DotNetCoreCLI@2
65+
displayName: Build NuGet
66+
inputs:
67+
command: custom
68+
projects: src/Xamarin.Android.Tools.AndroidSdk/Xamarin.Android.Tools.AndroidSdk.csproj
69+
custom: pack
70+
arguments: -p:Version=$(xat.nuget.version) -p:PackageOutputPath=$(Build.ArtifactStagingDirectory) -bl:$(Build.ArtifactStagingDirectory)/pack.binlog
6871
condition: and(succeeded(), eq(variables['agent.os'], 'Windows_NT'))
6972

7073
- task: PublishPipelineArtifact@1

0 commit comments

Comments
 (0)