uno/.vsts-ci.yml

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

2019-11-25 21:44:10 +03:00
trigger:
branches:
include:
- master
- release/beta/*
- release/stable/*
- feature/*
paths:
include:
- '/'
exclude:
- .dependabot/
- .github/
# don't trigger the CI if only docs files are changed
- doc/*
- '**/*.md'
- '*.md'
2019-11-25 21:44:10 +03:00
pr:
branches:
include:
- master
- release/beta/*
- release/stable/*
- feature/*
paths:
include:
- '/'
exclude:
- .dependabot/
- .github/
# don't trigger the CI if only docs files are changed
- doc/*
- '**/*.md'
- '*.md'
resources:
containers:
- container: nv-bionic-wasm
2020-09-21 21:42:08 +03:00
image: unoplatform/wasm-build:3.0
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
2021-12-09 00:38:00 +03:00
windows2019HostedVMImage: 'windows-2019'
windows2022HostedVMImage: 'windows-2022'
2022-09-27 15:32:58 +03:00
windowsScaledPool: 'Windows2022-20220925-1'
2020-09-21 21:42:08 +03:00
linuxVMImage: 'ubuntu-latest'
2021-12-07 16:47:09 +03:00
macOSVMImage: 'macOS-11'
macOSVMImage_UITests: 'macOS-11'
2022-01-28 00:21:10 +03:00
xCodeRoot: '/Applications/Xcode_13.2.1.app'
XamarinSDKVersion: 6_12_12
xCodeRoot_iOS_UITests: '/Applications/Xcode_13.2.1.app'
XamarinSDKVersion_iOS_UITests: 6_12_12
# https://github.com/microsoft/azure-pipelines-tasks/issues/11864
#enable_package_cache: true
2022-08-22 17:38:01 +03:00
2019-02-08 21:53:34 +03:00
jobs:
2021-08-10 00:07:10 +03:00
- template: build/ci/.azure-devops-commitsar.yml
parameters:
vmImage: '$(linuxVMImage)'
- template: build/ci/.azure-devops-spell-check.yml
parameters:
vmImage: '$(linuxVMImage)'
- template: build/ci/.azure-devops-winui-convert.yml
parameters:
poolName: '$(windowsScaledPool)'
- template: build/ci/.azure-devops-pipeline-validations.yml
parameters:
vmImage: '$(linuxVMImage)'
2021-04-14 23:07:58 +03:00
- template: build/ci/.azure-devops-package-generic.yml
parameters:
poolName: '$(windowsScaledPool)'
- template: build/ci/.azure-devops-package-net6-win.yml
parameters:
poolName: '$(windowsScaledPool)'
2022-09-29 22:45:29 +03:00
- template: build/ci/.azure-devops-package-wasm.yml
parameters:
vmImage: '$(linuxVMImage)'
2022-10-03 05:19:42 +03:00
- template: build/ci/.azure-devops-package-reference.yml
parameters:
vmImage: '$(linuxVMImage)'
2022-09-29 22:45:29 +03:00
- template: build/ci/.azure-devops-package-skia.yml
parameters:
2022-11-17 06:53:48 +03:00
vmImage: '$(linuxVMImage)'
2022-10-02 20:35:11 +03:00
2021-04-14 23:07:58 +03:00
- template: build/ci/.azure-devops-package.yml
parameters:
2020-07-24 16:56:03 +03:00
poolName: '$(windowsScaledPool)'
- template: build/ci/.azure-devops-project-template-tests.yml
parameters:
poolName: '$(windowsScaledPool)'
2021-01-28 10:34:44 +03:00
vmImageLinux: '$(linuxVMImage)'
- template: build/ci/.azure-devops-uap.yml
parameters:
2021-11-11 17:41:37 +03:00
vmImage: '$(windows2022HostedVMImage)'
- template: build/ci/.azure-devops-unit-tests.yml
parameters:
2021-11-11 17:41:37 +03:00
vmImage: '$(windows2022HostedVMImage)'
2020-07-30 07:00:20 +03:00
- template: build/ci/.azure-devops-skia-tests.yml
parameters:
2021-11-11 17:41:37 +03:00
vmImage: '$(windows2022HostedVMImage)'
2021-12-09 00:38:00 +03:00
vmMacImage: '$(macOSVMImage)'
poolName: '$(windows2022HostedVMImage)'
2020-07-30 07:00:20 +03:00
2020-11-19 23:43:24 +03:00
- template: build/ci/.azure-devops-samplesapp-uitests-build.yml
parameters:
2021-11-11 17:41:37 +03:00
vmImage: '$(windows2022HostedVMImage)'
2019-12-12 15:13:29 +03:00
- template: build/ci/.azure-devops-wasm-uitests.yml
parameters:
vmImage: '$(linuxVMImage)'
2019-12-12 15:13:29 +03:00
- template: build/ci/.azure-devops-macos.yml
parameters:
vmImage: '$(macOSVMImage)'
xCodeRoot: '$(xCodeRoot)'
XamarinSDKVersion: '$(XamarinSDKVersion)'
2019-12-12 15:13:29 +03:00
- template: build/ci/.azure-devops-android-tests.yml
parameters:
2021-12-09 00:38:00 +03:00
vmWindowsImage: '$(windows2019HostedVMImage)'
vmMacOSImage: '$(macOSVMImage)'
xCodeRoot: '$(xCodeRoot)'
XamarinSDKVersion: '$(XamarinSDKVersion)'
2019-12-12 15:13:29 +03:00
- template: build/ci/.azure-devops-ios-tests.yml
parameters:
2021-12-07 17:20:20 +03:00
vmImage: '$(macOSVMImage)'
vmImageTest: '$(macOSVMImage_UITests)'
xCodeRootBuild: '$(xCodeRoot)'
XamarinSDKVersionBuild: '$(XamarinSDKVersion)'
xCodeRootTest: '$(xCodeRoot_iOS_UITests)'
XamarinSDKVersionTest: '$(XamarinSDKVersion_iOS_UITests)'
2019-12-12 16:19:19 +03:00
- template: build/ci/.azure-devops-screenshot-compare.yml
parameters:
2021-11-11 17:41:37 +03:00
vmImage: '$(windows2022HostedVMImage)'