forked from ionide/ionide-vscode-fsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
74 lines (59 loc) · 1.71 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
name: $(Rev:r)
jobs:
- job: IonideFsharp_Windows
pool:
vmImage: 'windows-2019'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core Sdk from global.json'
inputs:
useGlobalJson: true
- task: NodeTool@0
displayName: Install Node
inputs:
versionSpec: "10.15.1"
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
displayName: Install Yarn
inputs:
versionSpec: "1.10.1"
- script: dotnet tool restore
displayName: Install Tools
- script: dotnet paket restore
displayName: Run paket restore
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@3
displayName: 'Install VSCE'
inputs:
arguments: global add vsce
- script: dotnet fake build --target BuildPackage
displayName: Build Package
- task: PublishBuildArtifacts@1
displayName: Publish Artifacts
inputs:
pathtoPublish: 'temp'
artifactName: 'ionide-fsharp-vscode-ext'
- job: IonideFsharp_MacOS
pool:
vmImage: 'macOS-10.14'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core Sdk from global.json'
inputs:
useGlobalJson: true
- task: NodeTool@0
displayName: Install Node
inputs:
versionSpec: "10.15.1"
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
displayName: Install Yarn
inputs:
versionSpec: "1.10.1"
- script: dotnet tool restore
displayName: Install Tools
- script: dotnet paket restore
displayName: Run paket restore
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@3
displayName: 'Install VSCE'
inputs:
arguments: global add vsce
- script: dotnet fake build --target BuildPackage
displayName: Build Package