-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
232 lines (203 loc) · 7.75 KB
/
Copy pathazure-pipelines.yml
File metadata and controls
232 lines (203 loc) · 7.75 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
trigger:
branches:
include: ['*']
tags:
include: ['*']
pr:
branches:
include: ['*']
jobs:
################################################################################
# These jobs are using VMs and Azure-provided Pythons
################################################################################
- template: etc/ci/azure-posix.yml
parameters:
name: Ubuntu_16
image_name: ubuntu-16.04
matrix:
py27:
python_version: '2.7'
py36:
python_version: '3.6'
py37:
python_version: '3.7'
- template: etc/ci/azure-posix.yml
parameters:
name: macOS_1013
image_name: macos-10.13
matrix:
py27:
python_version: '2.7'
py36:
python_version: '3.6'
py37:
python_version: '3.7'
- template: etc/ci/azure-posix.yml
parameters:
name: macOS_1014
image_name: macos-10.14
matrix:
py27:
python_version: '2.7'
py36:
python_version: '3.6'
py37:
python_version: '3.7'
- template: etc/ci/azure-win.yml
parameters:
name: Win_2016_32
image_name: vs2017-win2016
matrix:
py27:
python_version: '2.7'
python_architecture: 'x86'
py36:
python_version: '3.6'
python_architecture: 'x86'
py37:
python_version: '3.7'
python_architecture: 'x86'
- template: etc/ci/azure-win.yml
parameters:
name: Win_2016_64
image_name: vs2017-win2016
matrix:
py27:
python_version: '2.7'
python_architecture: 'x64'
py36:
python_version: '3.6'
python_architecture: 'x64'
py37:
python_version: '3.7'
python_architecture: 'x64'
################################################################################
# These jobs are using containers and their own Python
################################################################################
- template: etc/ci/azure-container-deb.yml
parameters:
name: Ubuntu_16_xenial_py27
container: 'ubuntu:xenial'
python_path: 'python2.7'
install_python: sudo apt-get install -y python python-dev
- template: etc/ci/azure-container-deb.yml
parameters:
name: Ubuntu_16_xenial_py36
container: 'ubuntu:xenial'
python_path: 'python3.6'
install_python: |
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y ppa:deadsnakes
sudo apt-get -y update
sudo apt-get install -y python3.6 python3.6-venv python3.6-dev
- template: etc/ci/azure-container-deb.yml
parameters:
name: Ubuntu_18_Bionic_py27
container: 'ubuntu:bionic'
python_path: 'python2.7'
install_python: sudo apt-get install -y python python-dev
- template: etc/ci/azure-container-deb.yml
parameters:
name: Ubuntu_18_Bionic_py36
container: 'ubuntu:bionic'
python_path: 'python3.6'
install_python: sudo apt-get install -y python3.6 python3.6-venv python3.6-dev
- template: etc/ci/azure-container-rpm.yml
parameters:
name: CentOS7_py27
container: 'centos:7'
python_path: 'python2.7'
install_python: sudo yum install -y python python27-devel
- template: etc/ci/azure-container-rpm.yml
parameters:
name: CentOS7_py36
container: 'centos:7'
python_path: 'python3.6'
install_python: |
set -e -x
sudo yum install -y epel-release
sudo yum install -y python36 python36-devel python36-virtualenv
- template: etc/ci/azure-container-rpm.yml
parameters:
name: Manylinux1_64_py27
container: 'quay.io/pypa/manylinux1_x86_64:latest'
python_path: '/opt/python/cp27-cp27mu/bin/python'
install_packages: echo "No extra packages for now"
install_python: echo "Python is pre-installed"
- template: etc/ci/azure-container-rpm.yml
parameters:
name: Manylinux1_64_py36
container: 'quay.io/pypa/manylinux1_x86_64:latest'
python_path: '/opt/python/cp36-cp36m/bin/python'
install_packages: echo "No extra packages for now"
install_python: echo "Python is pre-installed"
- template: etc/ci/azure-container-rpm.yml
parameters:
name: Manylinux2010_64_py27
container: 'quay.io/pypa/manylinux2010_x86_64:latest'
python_path: '/opt/python/cp27-cp27mu/bin/python'
install_packages: echo "No extra packages for now"
install_python: echo "Python is pre-installed"
- template: etc/ci/azure-container-rpm.yml
parameters:
name: Manylinux2010_64_py36
container: 'quay.io/pypa/manylinux2010_x86_64:latest'
python_path: '/opt/python/cp36-cp36m/bin/python'
install_packages: echo "No extra packages for now"
install_python: echo "Python is pre-installed"
- template: etc/ci/azure-container-rpm.yml
parameters:
name: Manylinux2010_64_py37
container: 'quay.io/pypa/manylinux2010_x86_64:latest'
python_path: '/opt/python/cp37-cp37m/bin/python'
install_packages: echo "No extra packages for now"
install_python: echo "Python is pre-installed"
- template: etc/ci/azure-container-deb.yml
parameters:
name: Debian_9_Stretch_py27
container: 'debian:stretch'
python_path: 'python2.7'
install_python: sudo apt-get install -y python python-dev
################################################################################
# These jobs are using containers and their own Python: FAILING FOR NOW
################################################################################
# - template: etc/ci/azure-container-deb.yml
# parameters:
# name: Debian_9_Stretch_py36
# container: 'debian:stretch'
# python_path: 'python3.6'
# install_python: |
# set -e -x
# sudo apt-get install -y \
# libncurses5-dev libncursesw5-dev libreadline6-dev \
# libdb-dev libgdbm-dev libsqlite3-dev libssl-dev \
# libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev \
# libcurl4-openssl-dev libpam0g-dev \
# libsqlite3-dev tk-dev libffi-dev \
# curl
# export PYVER=3.6.8
# curl -o Python-$PYVER.tgz https://www.python.org/ftp/python/$PYVER/Python-$PYVER.tgz
# tar -xvf Python-$PYVER.tgz
# cd Python-$PYVER
# ./configure --enable-optimizations
# make -j8
# sudo make altinstall
#
- template: etc/ci/azure-container-rpm.yml
parameters:
name: Fedora_30_py27
container: 'fedora:30'
package_manager: dnf
python_path: 'python2.7'
install_python: |
set -e -x
sudo dnf install -y python2 python2-devel
- template: etc/ci/azure-container-rpm.yml
parameters:
name: Fedora_30_py37
container: 'fedora:30'
package_manager: dnf
python_path: 'python3.7'
install_python: |
set -e -x
sudo dnf install -y python3 python3-devel python3-virtualenv