-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
azure-pipelines.yml
53 lines (52 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
47
48
49
50
51
52
53
resources:
repositories:
- repository: templates
type: github
name: dirigeants/pipelines
endpoint: kyranet
jobs:
- template: lint.yml@templates
- job: Build
pool:
vmImage: 'ubuntu-16.04'
dependsOn: Lint
condition: succeeded()
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: yarn
displayName: 'Install Dependencies'
- script: 'yarn build'
displayName: 'Test Build'
- job: Test
pool:
vmImage: 'ubuntu-16.04'
dependsOn: Build
condition: succeeded()
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: yarn
displayName: 'Install levenshtein-wasm Dependencies'
- script: 'yarn test'
displayName: 'Test Suite'
- job: Benchmark
pool:
vmImage: 'ubuntu-16.04'
dependsOn: Build
condition: succeeded()
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: yarn
displayName: 'Install levenshtein-wasm Dependencies'
- script: cd benchmark && yarn
displayName: 'Install Benchmark Suite Dependencies'
- script: 'yarn benchmark'
displayName: 'Benchmark Suite'