forked from jaredly/reason-language-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
68 lines (60 loc) · 1.51 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
name: $(Build.SourceVersion)
trigger:
branches:
include:
- master
pr:
branches:
include:
- "*"
jobs:
- template: .ci/build-platform.yml
parameters:
platform: Linux
vmImage: ubuntu-16.04
- template: .ci/build-platform.yml
parameters:
platform: macOS
vmImage: macOS-10.13
# Need windows-2019 to do esy import/export-dependencies
# which assumes you have bsdtar (tar.exe) in your system
# otherwise it will end up using the esy-bash tar which doesn't
# understand drives like D:/ (thinks it's an scp path).
- template: .ci/build-platform.yml
parameters:
platform: Windows
vmImage: windows-2019
- job: Release
timeoutInMinutes: 0
displayName: Release
dependsOn:
- Linux
- MacOS
- Windows
condition: succeeded()
pool:
vmImage: ubuntu-16.04
steps:
- task: PublishBuildArtifacts@1
displayName: 'Release Package'
inputs:
PathtoPublish: './editor-extensions/vscode/'
ArtifactName: npm-package
# - name: release
# jobs:
# - job: Release
# timeoutInMinutes: 0
# displayName: Release
# pool:
# vmImage: ubuntu-16.04
# steps:
# - task: GitHubRelease@0
# inputs:
# gitHubConnection: jaredly
# repositoryName: '$(Build.Repository.Name)'
# action: 'create'
# target: '$(Build.SourceVersion)'
# tagSource: manual
# tag: $(Release Tag)
# isDraft: true
# addChangeLog: true