Uno.Themes/azure-pipelines.yml

66 строки
2.3 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

trigger:
branches:
include:
- master
- stable
- release/stable/*
- legacy/*
2023-12-21 00:11:18 +03:00
- feature/*
pr:
branches:
include:
- master
- stable
- release/stable/*
- legacy/*
2023-12-21 00:11:18 +03:00
- feature/*
variables:
2020-05-20 01:09:16 +03:00
# Path where packages (nuget or app packages) will be copied to.
PackageOutputPath: $(Build.ArtifactStagingDirectory)
2024-05-23 14:59:23 +03:00
XCODE_ROOT: '/Applications/Xcode_15.2.app'
2020-05-20 01:09:16 +03:00
# For Application.Building.Light optimizations
IsLightBuild: $[eq(variables['Build.Reason'], 'PullRequest')]
2021-03-03 23:32:56 +03:00
IsCanaryBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/')]
IsReleaseBranch: $[or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))]
2020-05-20 01:09:16 +03:00
# ANDROID_NDK_HOME: C:\Microsoft\AndroidNDK64\android-ndk-r16b
# ANDROID_NDK_PATH: C:\Microsoft\AndroidNDK64\android-ndk-r16b
# AndroidNdkDirectory: C:\Microsoft\AndroidNDK64\android-ndk-r16b
2021-01-20 17:56:16 +03:00
stages:
- stage: Determine_Changes
displayName: Determine Changes
jobs:
- template: build/stage-determine-changes.yml
- stage: Docs_Validations
displayName: Docs Validations
dependsOn: Determine_Changes
# Trigger this stage when docs files are changed
condition: or(eq(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.docsOnly'], 'true'), eq(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.mixedChanges'], 'true'))
jobs:
- template: build/stage-docs-validations.yml
- stage: Packages
displayName: Packages
dependsOn: Determine_Changes
# Don't trigger this stage if only docs files are changed
condition: ne(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.docsOnly'], 'true')
jobs:
- template: build/stage-build-packages.yml
- stage: Build_Samples
displayName: Build Samples
dependsOn: Determine_Changes
# Don't trigger this stage if only docs files are changed
condition: ne(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.docsOnly'], 'true')
jobs:
- template: build/stage-build-ios.yml
- template: build/stage-build-android.yml
- template: build/stage-build-wasm.yml
- template: build/stage-build-windows.yml
- template: build/stage-build-skia-gtk.yml