-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
61 lines (52 loc) · 1.41 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
59
60
61
trigger:
branches:
include:
- "*"
tags:
include:
- "*"
exclude:
- "continuous"
pr:
- "*"
variables:
isGitTag: $[startsWith(variables['Build.SourceBranch'], 'refs/tags/')]
gitTag: $[replace(replace(variables['Build.SourceBranch'], 'refs/tags/', ''), 'refs/heads/', '')]
gitTagNoV: $[replace(replace(replace(variables['Build.SourceBranch'], 'refs/tags/v', ''), 'refs/heads', ''), '/', '')]
isMaster: $[eq(variables['Build.SourceBranch'], 'refs/heads/master')]
stages:
- stage: Build
jobs:
- job: Win32
displayName: Win32
pool:
vmImage: "windows-2019"
steps:
- checkout: self
submodules: recursive
- bash: |
source ci/win32.deps.sh
- script: |
call ci/win32.build.cmd
- job: AppImage
displayName: AppImage
pool:
vmImage: "ubuntu-20.04"
steps:
- checkout: self
submodules: recursive
- bash: |
source ci/appimage.deps.sh
- bash: |
source ci/appimage.build.sh
- job: macOS
displayName: macOS
pool:
vmImage: "macos-12"
steps:
- checkout: self
submodules: recursive
- bash: |
source ci/osx-package.deps.sh
- bash: |
source ci/osx-package.build.sh