-
Notifications
You must be signed in to change notification settings - Fork 22
/
azure-pipelines.yml
58 lines (55 loc) · 1.18 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
trigger:
batch: false
branches:
include:
- master
- azure-pipelines
- release-*
# describe each job seperately
jobs:
- job: Linux
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
- task: NodeTool@0
inputs:
versionSpec: '10.15'
- bash: ./scripts/azure-electron-build.sh
env:
GH_TOKEN: $(GITHUB_TOKEN)
- job: macOS
pool:
vmImage: 'macOS-10.13'
steps:
# Install an Apple certificate required to build on a macOS agent
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
- task: InstallAppleCertificate@2
inputs:
certSecureFile: mac.p12
certPwd: $(macP12Pass)
- task: NodeTool@0
inputs:
versionSpec: '10.15'
- bash: ./scripts/azure-electron-build.sh
env:
GH_TOKEN: $(GITHUB_TOKEN)
- job: Windows
pool:
vmImage: 'vs2017-win2016'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.x'
- task: NodeTool@0
inputs:
versionSpec: '10.15'
- bash: ./scripts/azure-electron-build.sh
env:
GH_TOKEN: $(GITHUB_TOKEN)
WIN_CSC_KEY_PASSWORD: $(csc_key_password)
WIN_CSC_LINK: $(csc_link)