2022-05-20 04:44:12 +03:00
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- stable
|
|
|
|
- release/stable/*
|
2023-06-29 22:55:08 +03:00
|
|
|
- legacy/*
|
2023-12-21 00:11:18 +03:00
|
|
|
- feature/*
|
2022-05-20 04:44:12 +03:00
|
|
|
|
2024-04-03 22:59:29 +03:00
|
|
|
pr:
|
2022-05-20 04:44:12 +03:00
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- master
|
|
|
|
- stable
|
|
|
|
- release/stable/*
|
2023-06-29 22:55:08 +03:00
|
|
|
- legacy/*
|
2023-12-21 00:11:18 +03:00
|
|
|
- feature/*
|
2022-05-20 04:44:12 +03:00
|
|
|
|
|
|
|
variables:
|
2020-05-20 01:09:16 +03:00
|
|
|
# Path where packages (nuget or app packages) will be copied to.
|
|
|
|
PackageOutputPath: $(Build.ArtifactStagingDirectory)
|
2024-02-10 19:20:23 +03:00
|
|
|
XCODE_ROOT: '/Applications/Xcode_14.3.1.app'
|
2020-05-20 01:09:16 +03:00
|
|
|
# For Application.Building.Light optimizations
|
2020-07-13 19:30:52 +03:00
|
|
|
IsLightBuild: $[eq(variables['Build.Reason'], 'PullRequest')]
|
|
|
|
|
2021-03-03 23:32:56 +03:00
|
|
|
IsCanaryBranch: $[startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries/')]
|
2020-07-13 19:30:52 +03:00
|
|
|
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
|
|
|
|
2024-02-10 19:20:23 +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
|
|
|
|
2023-12-06 23:10:25 +03:00
|
|
|
stages:
|
2024-03-28 04:07:05 +03:00
|
|
|
- stage: Determine_Changes
|
|
|
|
displayName: Determine Changes
|
2023-12-06 23:10:25 +03:00
|
|
|
jobs:
|
2024-03-28 04:07:05 +03:00
|
|
|
- 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
|
2023-12-06 23:10:25 +03:00
|
|
|
|
|
|
|
- stage: Packages
|
2024-03-28 04:07:05 +03:00
|
|
|
displayName: Packages
|
|
|
|
dependsOn: Determine_Changes
|
|
|
|
# Don't trigger this stage if only docs files are changed
|
2024-04-04 22:31:09 +03:00
|
|
|
condition: ne(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.docsOnly'], 'true')
|
2023-12-06 23:10:25 +03:00
|
|
|
jobs:
|
2024-02-10 19:20:23 +03:00
|
|
|
- template: build/stage-build-packages.yml
|
2023-12-06 23:10:25 +03:00
|
|
|
|
2024-02-10 19:20:23 +03:00
|
|
|
- stage: Build_Samples
|
2024-03-28 04:07:05 +03:00
|
|
|
displayName: Build Samples
|
|
|
|
dependsOn: Determine_Changes
|
|
|
|
# Don't trigger this stage if only docs files are changed
|
2024-04-04 22:31:09 +03:00
|
|
|
condition: ne(dependencies.Determine_Changes.outputs['evaluate_changes.DetermineChanges.docsOnly'], 'true')
|
2023-12-06 23:10:25 +03:00
|
|
|
jobs:
|
2024-02-10 19:20:23 +03:00
|
|
|
- template: build/stage-build-ios.yml
|
|
|
|
- template: build/stage-build-android.yml
|
2023-12-06 23:10:25 +03:00
|
|
|
- template: build/stage-build-wasm.yml
|
2024-02-10 19:20:23 +03:00
|
|
|
- template: build/stage-build-windows.yml
|
|
|
|
- template: build/stage-build-skia-gtk.yml
|