Skip to content
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

Use the signing template #71

Merged
merged 19 commits into from
Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

trigger:
- master

Expand All @@ -9,13 +10,24 @@ variables:
MONO_VERSION: 5_16_0
XCODE_VERSION: 10.1

resources:
repositories:
- repository: xamarin-templates
type: github
name: xamarin/yaml-templates
endpoint: xamarin

jobs:
- job: build_windows
displayName: Build (Windows)
pool:
vmImage: vs2017-win2016
steps:
- powershell: .\build.ps1
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: Component Detection
inputs:
scanType: LogOnly
- task: PublishTestResults@2
inputs:
testResultsFormat: xUnit
Expand Down Expand Up @@ -54,6 +66,10 @@ jobs:
- bash: echo '##vso[task.setvariable variable=MD_APPLE_SDK_ROOT;]'/Applications/Xcode_$(XCODE_VERSION).app;sudo xcode-select --switch /Applications/Xcode_$(XCODE_VERSION).app/Contents/Developer
displayName: Switch to the latest Xcode
- bash: ./build.sh
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: Component Detection
inputs:
scanType: LogOnly
- task: PublishTestResults@2
inputs:
testResultsFormat: xUnit
Expand All @@ -69,12 +85,13 @@ jobs:
dependsOn: build_windows
pool:
name: VSEng-XamarinCustom
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'],'refs/tags/'))
demands:
- corpnet
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'))
steps:
- checkout: none
- template: azure-templates-sign.yml
- template: sign-artifacts.yml@xamarin-templates
parameters:
sourceRepo: mono/SkiaSharp.Extended
targetFolder: 'output/signed'
- task: PublishPipelineArtifact@0
inputs:
Expand Down
61 changes: 0 additions & 61 deletions azure-templates-sign.yml

This file was deleted.