2019-02-05 06:22:35 +03:00
|
|
|
trigger:
|
2021-02-05 11:34:05 +03:00
|
|
|
- main
|
2020-04-28 22:45:19 +03:00
|
|
|
- develop
|
|
|
|
- patch/*
|
2019-09-24 02:34:44 +03:00
|
|
|
|
2020-03-10 00:57:56 +03:00
|
|
|
pr:
|
2021-02-05 11:34:05 +03:00
|
|
|
- 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: number
|
|
|
|
default: 0
|
2022-02-08 20:30:09 +03:00
|
|
|
- name: VM_IMAGE_WINDOWS
|
2022-03-02 10:24:47 +03:00
|
|
|
type: object
|
|
|
|
default:
|
|
|
|
name: Azure Pipelines
|
|
|
|
vmImage: windows-2022
|
2022-02-08 20:30:09 +03:00
|
|
|
- name: VM_IMAGE_MAC
|
2022-03-02 10:24:47 +03:00
|
|
|
type: object
|
|
|
|
default:
|
|
|
|
name: Azure Pipelines
|
2022-04-05 06:17:23 +03:00
|
|
|
vmImage: macos-11
|
2022-02-08 20:30:09 +03:00
|
|
|
- name: VM_IMAGE_LINUX
|
2022-03-02 10:24:47 +03:00
|
|
|
type: object
|
|
|
|
default:
|
|
|
|
name: Azure Pipelines
|
|
|
|
vmImage: ubuntu-18.04
|
2021-11-13 08:59:12 +03:00
|
|
|
|
2019-02-05 06:22:35 +03:00
|
|
|
variables:
|
2022-03-03 15:09:35 +03:00
|
|
|
- template: azure-pipelines-variables.yml
|
2019-09-24 02:34:44 +03:00
|
|
|
|
2019-02-21 00:48:56 +03:00
|
|
|
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
|
2019-02-21 00:48:56 +03:00
|
|
|
|
2019-07-13 06:14:48 +03:00
|
|
|
stages:
|
2022-03-03 15:09:35 +03:00
|
|
|
- template: azure-templates-stages.yml
|
|
|
|
parameters:
|
|
|
|
isBuildPipeline: true
|
|
|
|
buildExternals: ${{ parameters.buildExternals }}
|
|
|
|
VM_IMAGE_WINDOWS: ${{ parameters.VM_IMAGE_WINDOWS }}
|
2022-04-05 06:17:23 +03:00
|
|
|
VM_IMAGE_WINDOWS_NATIVE: ${{ parameters.VM_IMAGE_WINDOWS }}
|
2022-03-03 15:09:35 +03:00
|
|
|
VM_IMAGE_MAC: ${{ parameters.VM_IMAGE_MAC }}
|
2022-04-05 06:17:23 +03:00
|
|
|
VM_IMAGE_MAC_NATIVE: ${{ parameters.VM_IMAGE_MAC }}
|
2022-03-03 15:09:35 +03:00
|
|
|
VM_IMAGE_LINUX: ${{ parameters.VM_IMAGE_LINUX }}
|
2022-04-05 06:17:23 +03:00
|
|
|
VM_IMAGE_LINUX_NATIVE: ${{ parameters.VM_IMAGE_LINUX }}
|