SkiaSharp/scripts/azure-pipelines.yml

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

trigger:
- main
2020-04-28 22:45:19 +03:00
- develop
- patch/*
2020-03-10 00:57:56 +03:00
pr:
- main
2020-04-28 22:45:19 +03:00
- develop
- patch/*
2020-03-10 00:57:56 +03:00
2021-11-13 08:59:12 +03:00
parameters:
- name: buildExternals
displayName: 'The specific native artifacts to use for this build.'
type: string
default: 'latest'
2022-05-27 21:23:34 +03:00
- name: VM_IMAGE_HOST
type: object
default:
pool:
name: Azure Pipelines
2022-09-30 03:46:15 +03:00
vmImage: ubuntu-20.04
- name: VM_IMAGE_WINDOWS
type: object
default:
pool:
name: Azure Pipelines
vmImage: windows-2022
- name: VM_IMAGE_MAC
type: object
default:
pool:
name: Azure Pipelines
vmImage: macos-13
- name: VM_IMAGE_MAC_NATIVE
type: object
default:
pool:
name: Azure Pipelines
vmImage: macos-12
- name: VM_IMAGE_LINUX
type: object
default:
pool:
name: Azure Pipelines
2022-09-30 03:46:15 +03:00
vmImage: ubuntu-20.04
2021-11-13 08:59:12 +03:00
variables:
- template: azure-pipelines-variables.yml
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
stages:
- template: azure-templates-stages.yml
parameters:
2022-05-27 21:23:34 +03:00
buildPipelineType: 'build'
buildExternals: ${{ parameters.buildExternals }}
2022-05-27 21:23:34 +03:00
VM_IMAGE_HOST: ${{ parameters.VM_IMAGE_HOST }}
VM_IMAGE_WINDOWS: ${{ parameters.VM_IMAGE_WINDOWS }}
2022-04-05 06:17:23 +03:00
VM_IMAGE_WINDOWS_NATIVE: ${{ parameters.VM_IMAGE_WINDOWS }}
VM_IMAGE_MAC: ${{ parameters.VM_IMAGE_MAC }}
VM_IMAGE_MAC_NATIVE: ${{ parameters.VM_IMAGE_MAC_NATIVE }}
VM_IMAGE_LINUX: ${{ parameters.VM_IMAGE_LINUX }}
2022-04-05 06:17:23 +03:00
VM_IMAGE_LINUX_NATIVE: ${{ parameters.VM_IMAGE_LINUX }}