forked from reason-native-web/morph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
executable file
·75 lines (70 loc) · 2.18 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
71
72
73
74
75
name: Build master - $(Build.BuildId)
trigger:
branches:
include:
- master
stages:
- stage: Build
jobs:
- job: Linux
pool:
vmImage: ubuntu-latest
variables:
AZP_CACHING_TAR: false
CACHE_FOLDER: $(Pipeline.Workspace)/cache
ESY__CACHE_INSTALL_PATH: /home/vsts/.esy/3_____________________________________________________________________/i
steps:
- template: .ci/build-platform.yml
parameters:
installFolderPath: "/3______________________________________________________________/i"
- template: .ci/build-npm-packages.yml
- template: .ci/build-docs.yml
- template: .ci/utils/prepare-cache.yml
- job: macOS
pool:
vmImage: macOS-latest
variables:
CACHE_FOLDER: $(Pipeline.Workspace)/cache
ESY__CACHE_INSTALL_PATH: /Users/vsts/.esy/3____________________________________________________________________/i
AZP_CACHING_TAR: true
steps:
- template: .ci/build-platform.yml
- template: .ci/utils/prepare-cache.yml
parameters:
installFolderPath: "/3_______________________________________________/i"
# - job: Windows
# pool:
# vmImage: windows-latest
# variables:
# ESY__PREFIX: $(Pipeline.Workspace)\.esy
# steps:
# - template: .ci/build-platform.yml
# parameters:
# esyLockPath: $(Build.SourcesDirectory)\esy.lock\index.json
# installFolderPath: \3_
- stage: Publish_docs
displayName: Publish documentation
dependsOn: [Build]
jobs:
- deployment: Publish_docs
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
displayName: Publish docs to Github
environment: gh-pages
pool:
vmImage: ubuntu-16.04
strategy:
runOnce:
deploy:
steps:
- template: .ci/publish-api-docs.yml
- deployment: Upstream_docs
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
displayName: Upstream docs to reason-native-web.github.io
environment: reason-native-web_github_io
pool:
vmImage: ubuntu-16.04
strategy:
runOnce:
deploy:
steps:
- template: .ci/upstream-docs.yml