-
Notifications
You must be signed in to change notification settings - Fork 151
/
azure-pipelines.yml
66 lines (61 loc) · 1.52 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
62
63
64
65
66
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
strategy:
matrix:
Linux-GCC:
imageName: 'ubuntu-16.04'
BUILD_TARGET: 'Linux'
BUILD_COMPILER: 'GCC'
Linux-Clang:
imageName: 'ubuntu-16.04'
BUILD_TARGET: 'Linux'
BUILD_COMPILER: 'Clang'
Android-arm64:
imageName: 'ubuntu-16.04'
BUILD_TARGET: 'Android'
BUILD_ARCH: 'arm64-v8a'
Android-arm:
imageName: 'ubuntu-16.04'
BUILD_TARGET: 'Android'
BUILD_ARCH: 'armeabi-v7a'
Android-x86:
imageName: 'ubuntu-16.04'
BUILD_TARGET: 'Android'
BUILD_ARCH: 'x86'
Android-x86_64:
imageName: 'ubuntu-16.04'
BUILD_TARGET: 'Android'
BUILD_ARCH: 'x86_64'
macOS:
imageName: 'macos-latest'
BUILD_TARGET: 'macOS'
iOS:
imageName: 'macos-latest'
BUILD_TARGET: 'iOS'
Windows-v141-amd64:
imageName: 'vs2017-win2016'
BUILD_TARGET: 'Windows'
BUILD_TOOLCHAIN: 'amd64'
Windows-v141-x86:
imageName: 'vs2017-win2016'
BUILD_TARGET: 'Windows'
BUILD_TOOLCHAIN: 'amd64_x86'
trigger:
- master
pool:
vmImage: $(imageName)
steps:
- bash: |
export
displayName: 'Check environment'
- bash: |
bash build.sh
displayName: 'Build'
env:
BUILD_TARGET: $(BUILD_TARGET)
BUILD_COMPILER: $(BUILD_COMPILER)
BUILD_ARCH: $(BUILD_ARCH)
BUILD_TOOLCHAIN: $(BUILD_TOOLCHAIN)
CCACHE_DISABLE: 1