SkiaSharp/scripts/azure-pipelines.yml

87 строки
2.4 KiB
YAML
Исходник Обычный вид История

trigger:
- main
2020-04-28 22:45:19 +03:00
- develop
- release/*
2020-03-10 00:57:56 +03:00
pr:
- main
2020-04-28 22:45:19 +03:00
- develop
- release/*
2020-03-10 00:57:56 +03:00
2021-11-13 08:59:12 +03:00
parameters:
- name: buildExternals
2024-02-28 23:38:00 +03:00
displayName: 'The Build ID containing the specific native artifacts to use:'
type: string
default: 'latest'
2024-02-28 23:38:00 +03:00
- name: buildAgentHost
displayName: 'The generic host build agent configuration:'
2022-05-27 21:23:34 +03:00
type: object
default:
pool:
2024-03-06 22:44:34 +03:00
name: Maui-1ESPT
2024-02-28 23:38:00 +03:00
image: 1ESPT-Windows2022
os: windows
- name: buildAgentWindows
displayName: 'The Windows build agent configuration:'
type: object
default:
pool:
2024-03-06 22:44:34 +03:00
name: Maui-1ESPT
2024-02-28 23:38:00 +03:00
image: 1ESPT-Windows2022
os: windows
- name: buildAgentMac
displayName: 'The macOS build agent configuration:'
type: object
default:
pool:
name: Azure Pipelines
vmImage: macos-13
2024-02-28 23:38:00 +03:00
os: macos
- name: buildAgentLinux
displayName: 'The Linuk build agent configuration:'
type: object
default:
pool:
2024-03-06 22:44:34 +03:00
name: Maui-1ESPT
2024-02-28 23:38:00 +03:00
image: 1ESPT-Ubuntu20.04
os: linux
- name: runCompliance
2024-02-28 23:38:00 +03:00
displayName: 'Run post-build compliance tasks (such as API Scan)'
type: boolean
default: false
2021-11-13 08:59:12 +03:00
variables:
2024-02-28 23:38:00 +03:00
- template: /scripts/azure-pipelines-variables.yml@self
resources:
repositories:
- repository: xamarin-templates
type: github
name: xamarin/yaml-templates
endpoint: xamarin
2020-12-27 15:47:09 +03:00
ref: refs/heads/main
2024-02-28 23:38:00 +03:00
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
2024-02-28 23:38:00 +03:00
extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool: ${{ parameters.buildAgentHost.pool }}
customBuildTags:
- ES365AIMigrationTooling
stages:
- template: /scripts/azure-templates-stages.yml@self
parameters:
buildPipelineType: 'build'
buildExternals: ${{ parameters.buildExternals }}
runCompliance: ${{ parameters.runCompliance }}
use1ESPipelineTemplates: true
buildAgentHost: ${{ parameters.buildAgentHost }}
buildAgentWindows: ${{ parameters.buildAgentWindows }}
buildAgentWindowsNative: ${{ parameters.buildAgentWindows }}
buildAgentMac: ${{ parameters.buildAgentMac }}
buildAgentMacNative: ${{ parameters.buildAgentMac }}
buildAgentLinux: ${{ parameters.buildAgentLinux }}
buildAgentLinuxNative: ${{ parameters.buildAgentLinux }}