-
Notifications
You must be signed in to change notification settings - Fork 564
[build] Add OSS Azure Pipeline Linux Build #4160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
078323f
Pass yes to apt-get installation prompts
pjcollins a7a3a68
Remove duplicate ubuntu tools
pjcollins 74009f6
[build] Fix local/PR `make jenkins` invocations
pjcollins de5037c
Write only the enabled ABIs to rules.mk
pjcollins c73c32f
Add nuget and devscripts deb packages
pjcollins f9fc852
Add OSS pipeline file w/ linux build
pjcollins 98f506a
Add cli-common-dev deb package
pjcollins 531e0c5
Clean up toolchain cache after provisioning on hosted machines
pjcollins ac01f02
[build] Add libmono-btls-shared to exclusion list
pjcollins 78325a9
Update libmono-btls-shared exclusion to not include extension
pjcollins d1cadef
[ci] Install mono preview before linx build
pjcollins 0a81242
Update README.md to include OSS Linux build status
pjcollins 3695798
Only include tar.bz2 linux artifact
pjcollins 2146e73
Remove libzip-dev deps
pjcollins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| # Xamarin.Android-OSS Pipeline | ||
|
|
||
| name: $(Build.SourceBranchName)-$(Build.SourceVersion)-$(Rev:r) | ||
|
|
||
| trigger: | ||
| - master | ||
| - d16-* | ||
|
|
||
| pr: | ||
| - master | ||
| - d16-* | ||
|
|
||
| # Global variables | ||
| variables: | ||
| OSSBuildConfiguration: Release | ||
|
|
||
| jobs: | ||
| - job: linux_build_package | ||
| displayName: Linux Build | ||
| pool: | ||
| vmImage: ubuntu-18.04 | ||
| timeoutInMinutes: 180 | ||
| cancelTimeoutInMinutes: 5 | ||
| workspace: | ||
| clean: all | ||
| steps: | ||
| - checkout: self | ||
| submodules: recursive | ||
|
|
||
| - task: NuGetToolInstaller@1 | ||
| displayName: 'Use NuGet 5.x' | ||
| inputs: | ||
| versionSpec: 5.x | ||
|
|
||
| - script: | | ||
| sudo apt-get install -y gnupg ca-certificates | ||
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | ||
| echo "deb https://download.mono-project.com/repo/ubuntu preview-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-preview.list | ||
| sudo apt-get update | ||
| sudo apt-get install -y mono-devel | ||
| sudo apt-get install -y ca-certificates-mono | ||
| displayName: install mono preview | ||
|
|
||
| - script: make jenkins V=1 PREPARE_CI_PR=1 PREPARE_AUTOPROVISION=1 CONFIGURATION=$(OSSBuildConfiguration) | ||
| displayName: make jenkins | ||
|
|
||
| - script: make package-deb V=1 CONFIGURATION=$(OSSBuildConfiguration) | ||
| displayName: make package-deb | ||
|
|
||
| - script: | | ||
| mkdir -p $(System.DefaultWorkingDirectory)/bin/Build$(OSSBuildConfiguration)/linux-artifacts | ||
| cp $(System.DefaultWorkingDirectory)/*xamarin.android*.tar.bz2 $(System.DefaultWorkingDirectory)/bin/Build$(OSSBuildConfiguration)/linux-artifacts | ||
| cp $(System.DefaultWorkingDirectory)/*.changes $(System.DefaultWorkingDirectory)/bin/Build$(OSSBuildConfiguration)/linux-artifacts | ||
| cp $(System.DefaultWorkingDirectory)/*.dsc $(System.DefaultWorkingDirectory)/bin/Build$(OSSBuildConfiguration)/linux-artifacts | ||
| cp $(System.DefaultWorkingDirectory)/*.deb $(System.DefaultWorkingDirectory)/bin/Build$(OSSBuildConfiguration)/linux-artifacts | ||
| displayName: copy linux artifacts | ||
|
|
||
| - task: PublishPipelineArtifact@1 | ||
| displayName: publish linux artifacts | ||
| inputs: | ||
| artifactName: Linux Packages | ||
| targetPath: $(System.DefaultWorkingDirectory)/bin/Build$(OSSBuildConfiguration)/linux-artifacts | ||
|
|
||
| - template: yaml-templates/upload-results.yaml | ||
| parameters: | ||
| configuration: $(OSSBuildConfiguration) | ||
| artifactName: OSS Build Results - Linux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.