-
Notifications
You must be signed in to change notification settings - Fork 25
/
azure-pipelines.yml
48 lines (41 loc) · 1.2 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
name: $(Date:yyyyMMdd)$(Rev:.r)
trigger:
branches:
include:
- main
pr: none
resources:
repositories:
- repository: templates
type: github
name: microsoft/vscode-engineering
ref: main
endpoint: Monaco
parameters:
- name: publishExtension
displayName: 🚀 Publish Extension
type: boolean
default: false
extends:
template: azure-pipelines/extension/stable.yml@templates
parameters:
# Once localization supports notebook renderers we can include that folder here
l10nSourcePaths: ./src/extension
buildSteps:
- bash: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
echo ">>> Started xvfb"
displayName: Start xvfb
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
- bash: |
echo ">>> Compile, unit-test, integration-test"
npm i && npm run compile-lint-test
displayName: Compile, Lint, Test
env:
DISPLAY: ':99.0'
tsa:
config:
areaPath: 'Visual Studio Code Miscellaneous Extensions'
serviceTreeID: 'c8cb03c6-176e-40dd-90a5-518de08666dc'
enabled: true
publishExtension: ${{ parameters.publishExtension }}