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.'
|
2022-05-30 10:40:53 +03:00
|
|
|
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
|
2022-02-08 20:30:09 +03:00
|
|
|
- name: VM_IMAGE_WINDOWS
|
2022-03-02 10:24:47 +03:00
|
|
|
type: object
|
|
|
|
default:
|
2022-04-09 03:55:21 +03:00
|
|
|
pool:
|
|
|
|
name: Azure Pipelines
|
|
|
|
vmImage: windows-2022
|
2022-05-30 10:40:53 +03:00
|
|
|
- name: VM_IMAGE_MAC
|
2023-07-30 18:49:57 +03:00
|
|
|
type: object
|
|
|
|
default:
|
|
|
|
pool:
|
|
|
|
name: Azure Pipelines
|
|
|
|
vmImage: macos-13
|
|
|
|
- name: VM_IMAGE_MAC_NATIVE
|
2022-03-02 10:24:47 +03:00
|
|
|
type: object
|
|
|
|
default:
|
2022-04-09 03:55:21 +03:00
|
|
|
pool:
|
|
|
|
name: Azure Pipelines
|
2023-06-15 10:24:51 +03:00
|
|
|
vmImage: macos-12
|
2022-02-08 20:30:09 +03:00
|
|
|
- name: VM_IMAGE_LINUX
|
2022-03-02 10:24:47 +03:00
|
|
|
type: object
|
|
|
|
default:
|
2022-04-09 03:55:21 +03:00
|
|
|
pool:
|
|
|
|
name: Azure Pipelines
|
2022-09-30 03:46:15 +03:00
|
|
|
vmImage: ubuntu-20.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:
|
2022-05-27 21:23:34 +03:00
|
|
|
buildPipelineType: 'build'
|
2022-03-03 15:09:35 +03:00
|
|
|
buildExternals: ${{ parameters.buildExternals }}
|
2022-05-27 21:23:34 +03:00
|
|
|
VM_IMAGE_HOST: ${{ parameters.VM_IMAGE_HOST }}
|
2022-03-03 15:09:35 +03:00
|
|
|
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 }}
|
2023-07-30 18:49:57 +03:00
|
|
|
VM_IMAGE_MAC_NATIVE: ${{ parameters.VM_IMAGE_MAC_NATIVE }}
|
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 }}
|