uno/.vsts-ci.yml

72 строки
1.6 KiB
YAML

trigger:
branches:
include:
- master
- release/beta/*
- release/stable/*
- feature/*
- legacy/*
paths:
include:
- '/'
exclude:
- .dependabot/
- .github/
# don't trigger the CI if only docs files are changed
- doc/*
- '**/*.md'
- '*.md'
- 'build/cSpell.json'
pr:
branches:
include:
- master
- release/beta/*
- release/stable/*
- feature/*
- legacy/*
paths:
include:
- '/'
exclude:
- .dependabot/
- .github/
# don't trigger the CI if only docs files are changed
- doc/*
- '**/*.md'
- '*.md'
- 'build/cSpell.json'
resources:
containers:
- container: nv-bionic-wasm
image: unoplatform/wasm-build:3.0
# Ensures that Chromium has enough room to avoid net::ERR_INSUFFICIENT_RESOURCES errors
options: "--shm-size=2gb"
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
windows2019HostedVMImage: 'windows-2019'
windows2022HostedVMImage: 'windows-2022'
windowsScaledPool: 'Windows2022-20230918'
linuxVMImage: 'ubuntu-latest'
linuxScaledPool: 'Ubuntu2204-20230918'
macOSVMImage: 'macOS-12'
macOSVMImage_UITests: 'macOS-12'
xCodeRoot: '/Applications/Xcode_14.1.app'
XamarinSDKVersion: 6_12_24
xCodeRoot_iOS_UITests: '/Applications/Xcode_14.1.app'
XamarinSDKVersion_iOS_UITests: 6_12_24
# Offline validation to improve build performance
NUGET_CERT_REVOCATION_MODE: offline
# https://github.com/microsoft/azure-pipelines-tasks/issues/11864
#enable_package_cache: true
stages:
- template: build/ci/.azure-devops-stages.yml