-
-
Notifications
You must be signed in to change notification settings - Fork 118
/
azure-pipelines.yml
46 lines (44 loc) · 1.34 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
trigger:
branches:
include:
- main
pr:
branches:
include:
- '*'
# must quote since "*" is a YAML reserved character; we want a string
stages:
- stage: Build_the_Extension
jobs:
- job: OS_and_Platform
strategy:
matrix:
linux_node_14:
imageName: Hosted Ubuntu 1604
node_version: 14.x
# linux_node_12:
# imageName: Hosted Ubuntu 1604
# node_version: 12.x
mac_node_14:
imageName: Hosted macOS
node_version: 14.x
# mac_node_12:
# imageName: Hosted macOS
# node_version: 12.x
windows_node_14:
imageName: Hosted VS2017
node_version: 14.x
# windows_node_12:
# imageName: Hosted VS2017
# node_version: 12.x
pool:
name: $(imageName)
# pool:
# https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#use-a-microsoft-hosted-agent
# name: Hosted Ubuntu 1604
demands: npm
steps:
- template: .azure-pipelines/build.yml
- template: .azure-pipelines/lint.yml
- template: .azure-pipelines/test.yml
- template: .azure-pipelines/package.yml