Skip to content

Commit 9c45e1b

Browse files
committed
azure pipeline
1 parent e0ea327 commit 9c45e1b

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

Diff for: build.yml

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
jobs:
2+
- job: Windows
3+
pool:
4+
name: Hosted VS2017
5+
demands: npm
6+
steps:
7+
- task: NodeTool@0
8+
displayName: 'Use Node 8.x'
9+
inputs:
10+
versionSpec: 8.x
11+
- task: Npm@1
12+
displayName: 'Install dependencies'
13+
inputs:
14+
verbose: false
15+
- task: Npm@1
16+
displayName: 'Compile sources'
17+
inputs:
18+
command: custom
19+
verbose: false
20+
customCommand: 'run compile'
21+
- script: 'node node_modules/vscode/bin/test'
22+
displayName: 'Run tests'
23+
- job: macOS
24+
pool:
25+
name: Hosted macOS
26+
demands: npm
27+
steps:
28+
- task: NodeTool@0
29+
displayName: 'Use Node 8.x'
30+
inputs:
31+
versionSpec: 8.x
32+
- task: Npm@1
33+
displayName: 'Install dependencies'
34+
inputs:
35+
verbose: false
36+
- task: Npm@1
37+
displayName: 'Compile sources'
38+
inputs:
39+
command: custom
40+
verbose: false
41+
customCommand: 'run compile'
42+
- script: 'node node_modules/vscode/bin/test'
43+
displayName: 'Run tests'
44+
- job: Linux
45+
pool:
46+
name: Hosted Ubuntu 1604
47+
demands: npm
48+
steps:
49+
- task: NodeTool@0
50+
displayName: 'Use Node 8.x'
51+
inputs:
52+
versionSpec: 8.x
53+
- task: Npm@1
54+
displayName: 'Install dependencies'
55+
inputs:
56+
verbose: false
57+
- task: Npm@1
58+
displayName: 'Compile sources'
59+
inputs:
60+
command: custom
61+
verbose: false
62+
customCommand: 'run compile'
63+
- script: |
64+
set -e
65+
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
66+
disown -ar
67+
displayName: 'Start xvfb'
68+
- script: 'node node_modules/vscode/bin/test'
69+
displayName: 'Run tests'
70+
env:
71+
DISPLAY: :10

0 commit comments

Comments
 (0)