-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathazure-pipelines.yml
96 lines (96 loc) · 2.37 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
jobs:
- job: Windows
pool:
vmImage: 'vs2017-win2016'
timeoutInMinutes: 0
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
- script: |
pip install --upgrade pip
pip install conan --upgrade
pip install conan_package_tools bincrafters_package_tools
SET CONAN_VISUAL_VERSIONS="15"
python build.py
env:
CONAN_PASSWORD: $(CONAN_PASSWORD)
strategy:
matrix:
Release:
CONAN_BUILD_TYPES: Release
Debug:
CONAN_BUILD_TYPES: Debug
- job: macOS
pool:
vmImage: 'macOS-10.13'
timeoutInMinutes: 0
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
- script: |
sudo xcode-select -switch /Applications/Xcode_${XCODE_VERSION}.app/
clang --version
pip install --upgrade pip
pip install conan --upgrade
pip install conan_package_tools bincrafters_package_tools
python build.py
env:
CONAN_PASSWORD: $(CONAN_PASSWORD)
strategy:
matrix:
Xcode-10.0:
CONAN_APPLE_CLANG_VERSIONS: 10.0
XCODE_VERSION: 10
Xcode-9.1:
CONAN_APPLE_CLANG_VERSIONS: 9.1
XCODE_VERSION: 9.4.1
Xcode-8.1:
CONAN_APPLE_CLANG_VERSIONS: 8.1
XCODE_VERSION: 8.3.3
- job: Linux
pool:
vmImage: 'Ubuntu 16.04'
timeoutInMinutes: 0
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
- script: |
pip install --upgrade pip
chmod +x .ci/install.sh
./.ci/install.sh
chmod +x .ci/run.sh
./.ci/run.sh
env:
CONAN_PASSWORD: $(CONAN_PASSWORD)
strategy:
matrix:
GCC4.9:
CONAN_GCC_VERSIONS: 4.9
CONAN_DOCKER_IMAGE: conanio/gcc49
GCC5:
CONAN_GCC_VERSIONS: 5
CONAN_DOCKER_IMAGE: conanio/gcc5
GCC6:
CONAN_GCC_VERSIONS: 6
CONAN_DOCKER_IMAGE: conanio/gcc6
GCC7:
CONAN_GCC_VERSIONS: 7
CONAN_DOCKER_IMAGE: conanio/gcc7
GCC8:
CONAN_GCC_VERSIONS: 8
CONAN_DOCKER_IMAGE: conanio/gcc8
CLANG3.9:
CONAN_CLANG_VERSIONS: 3.9
CONAN_DOCKER_IMAGE: conanio/clang39
CLANG4.0:
CONAN_CLANG_VERSIONS: 4.0
CONAN_DOCKER_IMAGE: conanio/clang40
CLANG5.0:
CONAN_CLANG_VERSIONS: 5.0
CONAN_DOCKER_IMAGE: conanio/clang50
CLANG6.0:
CONAN_CLANG_VERSIONS: 6.0
CONAN_DOCKER_IMAGE: conanio/clang60