This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
generated from XRTK/com.xrtk.upm.template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
70 lines (64 loc) · 2.01 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# XRTK Azure Pipelines build configuration
resources:
repositories:
- repository: pipeline_repo
type: github
name: XRTK/AzurePipelines
endpoint: XRTK
variables:
project.name: 'XRTK.XRUX'
project.upmSha: ''
package.name: 'com.xrtk.xrux'
package.version: ''
EditorPath: ''
LogDirectory: ''
${{ if eq( variables['build.reason'], 'PullRequest' ) }}:
date: ''
${{ if ne( variables['build.reason'], 'PullRequest' ) }}:
date: ${{ '$(Date:yyyyMMdd)' }}
isReleaseBuild: $[ and( eq(variables['Build.SourceBranchName'], 'main'), or( eq(variables['build.reason'], 'BatchedCI'), eq(variables['build.reason'], 'Manual') ) ) ]
isPreviewBuild: $[ and( eq(variables['System.PullRequest.TargetBranch'], 'main'), eq(variables['build.reason'], 'PullRequest') ) ]
name: $(package.name) ${{ coalesce( variables['date'], '$(System.PullRequest.PullRequestNumber)', '$(Date:yyyyMMdd)' ) }}$(Rev:.r)
pr:
autoCancel: true
branches:
include:
- main
- development
- feature/*
paths:
include:
- azure-pipelines.yml
- XRTK.XRUX/*
- Submodules/*
exclude:
- '*'
- XRTK.XRUX/Packages/com.xrtk.xrux/package.json
- XRTK.XRUX/Packages/com.xrtk.xrux/README.md
- XRTK.XRUX/Packages/com.xrtk.xrux/LICENSE.md
trigger:
batch: true
branches:
include:
- main
paths:
include:
- azure-pipelines.yml
- XRTK.XRUX/*
- Submodules/*
exclude:
- '*'
- XRTK.XRUX/Packages/com.xrtk.xrux/package.json
- XRTK.XRUX/Packages/com.xrtk.xrux/README.md
- XRTK.XRUX/Packages/com.xrtk.xrux/LICENSE.md
extends:
template: common.yml@pipeline_repo
parameters:
# Unity -buildTarget command line args https://docs.unity3d.com/Manual/CommandLineArguments.html
# StandaloneWindows64, WSAPlayer, StandaloneOSX, iOS, StandaloneLinux64, Android, WebGL, Lumin
# TODO: Only use XRTK defined platform targets for build
targets:
- StandaloneWindows64
- StandaloneOSX
- StandaloneLinux64
- Android