blob: 5a71b96f9e28d3785ae7b8e999fc37683dfd61ab [file] [log] [blame]
Siddharth Shukla8e64d902017-03-12 19:50:18 +01001#!/usr/bin/env python
Jan Tattermuschbe538a12016-01-28 14:58:15 -08002# Copyright 2016, Google Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met:
8#
9# * Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# * Redistributions in binary form must reproduce the above
12# copyright notice, this list of conditions and the following disclaimer
13# in the documentation and/or other materials provided with the
14# distribution.
15# * Neither the name of Google Inc. nor the names of its
16# contributors may be used to endorse or promote products derived from
17# this software without specific prior written permission.
18#
19# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
31"""Definition of targets to build artifacts."""
32
Masood Malekghassemi0e128752016-07-15 14:36:54 -070033import os.path
Ken Payson5998cd72016-08-10 15:39:43 -070034import random
35import string
Masood Malekghassemi0e128752016-07-15 14:36:54 -070036import sys
37
Jan Tattermusch5c79a312016-12-20 11:02:50 +010038sys.path.insert(0, os.path.abspath('..'))
39import python_utils.jobset as jobset
Jan Tattermuschbe538a12016-01-28 14:58:15 -080040
41
42def create_docker_jobspec(name, dockerfile_dir, shell_command, environ={},
Ken Payson626fb452017-02-17 22:52:27 -080043 flake_retries=0, timeout_retries=0, timeout_seconds=30*60,
44 docker_base_image=None):
Jan Tattermuschbe538a12016-01-28 14:58:15 -080045 """Creates jobspec for a task running under docker."""
46 environ = environ.copy()
47 environ['RUN_COMMAND'] = shell_command
Jan Tattermusch47c75212017-04-21 13:27:42 +020048 environ['ARTIFACTS_OUT'] = 'artifacts/%s' % name
Jan Tattermuschbe538a12016-01-28 14:58:15 -080049
50 docker_args=[]
siddharthshukla0589e532016-07-07 16:08:01 +020051 for k,v in environ.items():
Jan Tattermuschbe538a12016-01-28 14:58:15 -080052 docker_args += ['-e', '%s=%s' % (k, v)]
53 docker_env = {'DOCKERFILE_DIR': dockerfile_dir,
Jan Tattermusch9835d4b2016-04-29 15:05:05 -070054 'DOCKER_RUN_SCRIPT': 'tools/run_tests/dockerize/docker_run.sh',
Jan Tattermuschbe538a12016-01-28 14:58:15 -080055 'OUTPUT_DIR': 'artifacts'}
Ken Payson626fb452017-02-17 22:52:27 -080056
57 if docker_base_image is not None:
58 docker_env['DOCKER_BASE_IMAGE'] = docker_base_image
Jan Tattermuschbe538a12016-01-28 14:58:15 -080059 jobspec = jobset.JobSpec(
Jan Tattermusch9835d4b2016-04-29 15:05:05 -070060 cmdline=['tools/run_tests/dockerize/build_and_run_docker.sh'] + docker_args,
Jan Tattermuschbe538a12016-01-28 14:58:15 -080061 environ=docker_env,
62 shortname='build_artifact.%s' % (name),
Masood Malekghassemi027835f2016-07-15 22:31:50 -070063 timeout_seconds=timeout_seconds,
Jan Tattermuschbe538a12016-01-28 14:58:15 -080064 flake_retries=flake_retries,
65 timeout_retries=timeout_retries)
66 return jobspec
67
68
Jan Tattermusch47c75212017-04-21 13:27:42 +020069def create_jobspec(name, cmdline, environ={}, shell=False,
70 flake_retries=0, timeout_retries=0, timeout_seconds=30*60,
Jan Tattermuschedc06e72017-05-11 21:50:13 +020071 use_workspace=False,
72 cpu_cost=1.0):
Jan Tattermuschbe538a12016-01-28 14:58:15 -080073 """Creates jobspec."""
Jan Tattermusch47c75212017-04-21 13:27:42 +020074 environ = environ.copy()
75 if use_workspace:
76 environ['WORKSPACE_NAME'] = 'workspace_%s' % name
77 environ['ARTIFACTS_OUT'] = os.path.join('..', 'artifacts', name)
78 cmdline = ['bash',
79 'tools/run_tests/artifacts/run_in_workspace.sh'] + cmdline
80 else:
81 environ['ARTIFACTS_OUT'] = os.path.join('artifacts', name)
82
Jan Tattermuschbe538a12016-01-28 14:58:15 -080083 jobspec = jobset.JobSpec(
84 cmdline=cmdline,
85 environ=environ,
86 shortname='build_artifact.%s' % (name),
Masood Malekghassemi027835f2016-07-15 22:31:50 -070087 timeout_seconds=timeout_seconds,
Jan Tattermuschbe538a12016-01-28 14:58:15 -080088 flake_retries=flake_retries,
89 timeout_retries=timeout_retries,
Jan Tattermuschedc06e72017-05-11 21:50:13 +020090 shell=shell,
91 cpu_cost=cpu_cost)
Jan Tattermuschbe538a12016-01-28 14:58:15 -080092 return jobspec
93
94
Jan Tattermusche046f712016-02-18 16:06:10 -080095_MACOS_COMPAT_FLAG = '-mmacosx-version-min=10.7'
96
97_ARCH_FLAG_MAP = {
98 'x86': '-m32',
99 'x64': '-m64'
100}
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800101
Nicolas "Pixel" Noble6a4e4732016-02-20 01:30:57 +0100102
Jan Tattermusch8640f922016-02-01 18:58:46 -0800103class PythonArtifact:
104 """Builds Python artifacts."""
105
Ken Payson5998cd72016-08-10 15:39:43 -0700106 def __init__(self, platform, arch, py_version):
107 self.name = 'python_%s_%s_%s' % (platform, arch, py_version)
Jan Tattermusch8640f922016-02-01 18:58:46 -0800108 self.platform = platform
109 self.arch = arch
Ken Payson5998cd72016-08-10 15:39:43 -0700110 self.labels = ['artifact', 'python', platform, arch, py_version]
111 self.py_version = py_version
Jan Tattermusch8640f922016-02-01 18:58:46 -0800112
113 def pre_build_jobspecs(self):
Masood Malekghassemi0e128752016-07-15 14:36:54 -0700114 return []
Jan Tattermusch8640f922016-02-01 18:58:46 -0800115
116 def build_jobspec(self):
Nicolas "Pixel" Noblede808bb2016-02-18 01:13:14 +0100117 environ = {}
118 if self.platform == 'linux':
119 if self.arch == 'x86':
120 environ['SETARCH_CMD'] = 'linux32'
Masood Malekghassemi010eb482016-05-03 15:59:40 -0700121 # Inside the manylinux container, the python installations are located in
122 # special places...
Ken Payson5998cd72016-08-10 15:39:43 -0700123 environ['PYTHON'] = '/opt/python/{}/bin/python'.format(self.py_version)
124 environ['PIP'] = '/opt/python/{}/bin/pip'.format(self.py_version)
Masood Malekghassemi010eb482016-05-03 15:59:40 -0700125 # Platform autodetection for the manylinux1 image breaks so we set the
126 # defines ourselves.
127 # TODO(atash) get better platform-detection support in core so we don't
128 # need to do this manually...
Masood Malekghassemif4c70ca2016-05-05 19:14:05 -0700129 environ['CFLAGS'] = '-DGPR_MANYLINUX1=1'
Masood Malekghassemiaff69362016-09-21 15:10:36 -0700130 environ['GRPC_BUILD_GRPCIO_TOOLS_DEPENDENTS'] = 'TRUE'
131 environ['GRPC_BUILD_MANYLINUX_WHEEL'] = 'TRUE'
Nicolas "Pixel" Noblede808bb2016-02-18 01:13:14 +0100132 return create_docker_jobspec(self.name,
Masood Malekghassemi010eb482016-05-03 15:59:40 -0700133 'tools/dockerfile/grpc_artifact_python_manylinux_%s' % self.arch,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100134 'tools/run_tests/artifacts/build_artifact_python.sh',
Masood Malekghassemi027835f2016-07-15 22:31:50 -0700135 environ=environ,
Ken Payson626fb452017-02-17 22:52:27 -0800136 timeout_seconds=60*60,
137 docker_base_image='quay.io/pypa/manylinux1_i686' if self.arch == 'x86' else 'quay.io/pypa/manylinux1_x86_64')
Nicolas "Pixel" Noblede808bb2016-02-18 01:13:14 +0100138 elif self.platform == 'windows':
Ken Payson5998cd72016-08-10 15:39:43 -0700139 if 'Python27' in self.py_version or 'Python34' in self.py_version:
140 environ['EXT_COMPILER'] = 'mingw32'
141 else:
142 environ['EXT_COMPILER'] = 'msvc'
143 # For some reason, the batch script %random% always runs with the same
144 # seed. We create a random temp-dir here
145 dir = ''.join(random.choice(string.ascii_uppercase) for _ in range(10))
Nicolas "Pixel" Noblede808bb2016-02-18 01:13:14 +0100146 return create_jobspec(self.name,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100147 ['tools\\run_tests\\artifacts\\build_artifact_python.bat',
Ken Payson5998cd72016-08-10 15:39:43 -0700148 self.py_version,
149 '32' if self.arch == 'x86' else '64',
150 dir
Nicolas "Pixel" Noble6a4e4732016-02-20 01:30:57 +0100151 ],
Ken Payson5998cd72016-08-10 15:39:43 -0700152 environ=environ,
Jan Tattermusch47c75212017-04-21 13:27:42 +0200153 use_workspace=True)
Jan Tattermusch8640f922016-02-01 18:58:46 -0800154 else:
Ken Payson5998cd72016-08-10 15:39:43 -0700155 environ['PYTHON'] = self.py_version
156 environ['SKIP_PIP_INSTALL'] = 'TRUE'
Nicolas "Pixel" Noblede808bb2016-02-18 01:13:14 +0100157 return create_jobspec(self.name,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100158 ['tools/run_tests/artifacts/build_artifact_python.sh'],
Jan Tattermusch47c75212017-04-21 13:27:42 +0200159 environ=environ,
160 use_workspace=True)
Jan Tattermusch8640f922016-02-01 18:58:46 -0800161
162 def __str__(self):
163 return self.name
164
165
Jan Tattermusch44372132016-02-01 16:20:03 -0800166class RubyArtifact:
167 """Builds ruby native gem."""
168
169 def __init__(self, platform, arch):
170 self.name = 'ruby_native_gem_%s_%s' % (platform, arch)
171 self.platform = platform
172 self.arch = arch
173 self.labels = ['artifact', 'ruby', platform, arch]
174
175 def pre_build_jobspecs(self):
176 return []
177
178 def build_jobspec(self):
Jan Tattermusch47c75212017-04-21 13:27:42 +0200179 # Ruby build uses docker internally and docker cannot be nested.
180 # We are using a custom workspace instead.
181 return create_jobspec(self.name,
182 ['tools/run_tests/artifacts/build_artifact_ruby.sh'],
183 use_workspace=True)
Jan Tattermusch44372132016-02-01 16:20:03 -0800184
185
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800186class CSharpExtArtifact:
187 """Builds C# native extension library"""
188
189 def __init__(self, platform, arch):
190 self.name = 'csharp_ext_%s_%s' % (platform, arch)
191 self.platform = platform
192 self.arch = arch
193 self.labels = ['artifact', 'csharp', platform, arch]
194
195 def pre_build_jobspecs(self):
Jan Tattermusch6dce2f52017-02-09 17:03:03 -0800196 return []
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800197
198 def build_jobspec(self):
199 if self.platform == 'windows':
Jan Tattermusch6dce2f52017-02-09 17:03:03 -0800200 cmake_arch_option = 'Win32' if self.arch == 'x86' else self.arch
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800201 return create_jobspec(self.name,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100202 ['tools\\run_tests\\artifacts\\build_artifact_csharp.bat',
Jan Tattermusch6dce2f52017-02-09 17:03:03 -0800203 cmake_arch_option],
Jan Tattermusch47c75212017-04-21 13:27:42 +0200204 use_workspace=True)
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800205 else:
206 environ = {'CONFIG': 'opt',
207 'EMBED_OPENSSL': 'true',
Craig Tiller71ea4a12016-02-04 15:06:41 -0800208 'EMBED_ZLIB': 'true',
Jan Tattermusch60cbec72016-02-26 13:47:16 -0800209 'CFLAGS': '-DGPR_BACKWARDS_COMPATIBILITY_MODE',
Jan Tattermusch1d00ccc2017-05-09 16:28:38 +0200210 'CXXFLAGS': '-DGPR_BACKWARDS_COMPATIBILITY_MODE',
Jan Tattermusch60cbec72016-02-26 13:47:16 -0800211 'LDFLAGS': ''}
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800212 if self.platform == 'linux':
213 return create_docker_jobspec(self.name,
214 'tools/dockerfile/grpc_artifact_linux_%s' % self.arch,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100215 'tools/run_tests/artifacts/build_artifact_csharp.sh',
Jan Tattermusch60cbec72016-02-26 13:47:16 -0800216 environ=environ)
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800217 else:
Jan Tattermusch60cbec72016-02-26 13:47:16 -0800218 archflag = _ARCH_FLAG_MAP[self.arch]
219 environ['CFLAGS'] += ' %s %s' % (archflag, _MACOS_COMPAT_FLAG)
Jan Tattermusch1d00ccc2017-05-09 16:28:38 +0200220 environ['CXXFLAGS'] += ' %s %s' % (archflag, _MACOS_COMPAT_FLAG)
Jan Tattermusch60cbec72016-02-26 13:47:16 -0800221 environ['LDFLAGS'] += ' %s' % archflag
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800222 return create_jobspec(self.name,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100223 ['tools/run_tests/artifacts/build_artifact_csharp.sh'],
Jan Tattermusch47c75212017-04-21 13:27:42 +0200224 environ=environ,
225 use_workspace=True)
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800226
227 def __str__(self):
228 return self.name
229
Jan Tattermusche046f712016-02-18 16:06:10 -0800230
murgatroid99673f65b2016-02-01 11:19:07 -0800231node_gyp_arch_map = {
232 'x86': 'ia32',
233 'x64': 'x64'
234}
235
236class NodeExtArtifact:
237 """Builds Node native extension"""
238
239 def __init__(self, platform, arch):
240 self.name = 'node_ext_{0}_{1}'.format(platform, arch)
241 self.platform = platform
242 self.arch = arch
243 self.gyp_arch = node_gyp_arch_map[arch]
244 self.labels = ['artifact', 'node', platform, arch]
245
246 def pre_build_jobspecs(self):
247 return []
248
249 def build_jobspec(self):
250 if self.platform == 'windows':
Jan Tattermuschedc06e72017-05-11 21:50:13 +0200251 # Simultaneous builds of node on the same windows machine are flaky.
252 # Set x86 build as exclusive to make sure there is only one node build
253 # at a time. See https://github.com/grpc/grpc/issues/8293
254 cpu_cost = 1e6 if self.arch != 'x64' else 1.0
murgatroid99673f65b2016-02-01 11:19:07 -0800255 return create_jobspec(self.name,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100256 ['tools\\run_tests\\artifacts\\build_artifact_node.bat',
murgatroid99673f65b2016-02-01 11:19:07 -0800257 self.gyp_arch],
Jan Tattermuschedc06e72017-05-11 21:50:13 +0200258 use_workspace=True,
259 cpu_cost=cpu_cost)
murgatroid99673f65b2016-02-01 11:19:07 -0800260 else:
261 if self.platform == 'linux':
262 return create_docker_jobspec(
263 self.name,
264 'tools/dockerfile/grpc_artifact_linux_{}'.format(self.arch),
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100265 'tools/run_tests/artifacts/build_artifact_node.sh {}'.format(self.gyp_arch))
murgatroid99673f65b2016-02-01 11:19:07 -0800266 else:
267 return create_jobspec(self.name,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100268 ['tools/run_tests/artifacts/build_artifact_node.sh',
Jan Tattermusch47c75212017-04-21 13:27:42 +0200269 self.gyp_arch],
270 use_workspace=True)
murgatroid99673f65b2016-02-01 11:19:07 -0800271
Stanley Cheungbf74d692016-02-23 22:39:25 -0800272class PHPArtifact:
273 """Builds PHP PECL package"""
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800274
275 def __init__(self, platform, arch):
Stanley Cheungbf74d692016-02-23 22:39:25 -0800276 self.name = 'php_pecl_package_{0}_{1}'.format(platform, arch)
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800277 self.platform = platform
278 self.arch = arch
279 self.labels = ['artifact', 'php', platform, arch]
280
281 def pre_build_jobspecs(self):
282 return []
283
284 def build_jobspec(self):
Stanley Cheung80db5be2016-02-24 21:35:56 -0800285 if self.platform == 'linux':
286 return create_docker_jobspec(
287 self.name,
288 'tools/dockerfile/grpc_artifact_linux_{}'.format(self.arch),
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100289 'tools/run_tests/artifacts/build_artifact_php.sh')
Stanley Cheung80db5be2016-02-24 21:35:56 -0800290 else:
291 return create_jobspec(self.name,
Jan Tattermusch47c75212017-04-21 13:27:42 +0200292 ['tools/run_tests/artifacts/build_artifact_php.sh'],
293 use_workspace=True)
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800294
Jan Tattermusche046f712016-02-18 16:06:10 -0800295class ProtocArtifact:
296 """Builds protoc and protoc-plugin artifacts"""
297
298 def __init__(self, platform, arch):
299 self.name = 'protoc_%s_%s' % (platform, arch)
300 self.platform = platform
301 self.arch = arch
302 self.labels = ['artifact', 'protoc', platform, arch]
303
304 def pre_build_jobspecs(self):
305 return []
306
307 def build_jobspec(self):
308 if self.platform != 'windows':
309 cxxflags = '-DNDEBUG %s' % _ARCH_FLAG_MAP[self.arch]
Jan Tattermusche7b7d862016-02-19 09:49:35 -0800310 ldflags = '%s' % _ARCH_FLAG_MAP[self.arch]
311 if self.platform != 'macos':
Jan Tattermusch07591a52016-02-19 10:28:24 -0800312 ldflags += ' -static-libgcc -static-libstdc++ -s'
Jan Tattermusche046f712016-02-18 16:06:10 -0800313 environ={'CONFIG': 'opt',
314 'CXXFLAGS': cxxflags,
315 'LDFLAGS': ldflags,
316 'PROTOBUF_LDFLAGS_EXTRA': ldflags}
317 if self.platform == 'linux':
318 return create_docker_jobspec(self.name,
319 'tools/dockerfile/grpc_artifact_protoc',
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100320 'tools/run_tests/artifacts/build_artifact_protoc.sh',
Jan Tattermusche046f712016-02-18 16:06:10 -0800321 environ=environ)
322 else:
Jan Tattermusche7b7d862016-02-19 09:49:35 -0800323 environ['CXXFLAGS'] += ' -std=c++11 -stdlib=libc++ %s' % _MACOS_COMPAT_FLAG
Jan Tattermusche046f712016-02-18 16:06:10 -0800324 return create_jobspec(self.name,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100325 ['tools/run_tests/artifacts/build_artifact_protoc.sh'],
Jan Tattermusch47c75212017-04-21 13:27:42 +0200326 environ=environ,
327 use_workspace=True)
Jan Tattermusche046f712016-02-18 16:06:10 -0800328 else:
Jan Tattermusch6d159822016-02-19 16:03:22 -0800329 generator = 'Visual Studio 12 Win64' if self.arch == 'x64' else 'Visual Studio 12'
330 vcplatform = 'x64' if self.arch == 'x64' else 'Win32'
331 return create_jobspec(self.name,
Jan Tattermusch5c79a312016-12-20 11:02:50 +0100332 ['tools\\run_tests\\artifacts\\build_artifact_protoc.bat'],
Jan Tattermusch6d159822016-02-19 16:03:22 -0800333 environ={'generator': generator,
Jan Tattermusch47c75212017-04-21 13:27:42 +0200334 'Platform': vcplatform},
335 use_workspace=True)
Jan Tattermusche046f712016-02-18 16:06:10 -0800336
337 def __str__(self):
338 return self.name
339
340
Jan Tattermuschbe538a12016-01-28 14:58:15 -0800341def targets():
342 """Gets list of supported targets"""
murgatroid9941a9e832016-02-03 09:47:35 -0800343 return ([Cls(platform, arch)
Jan Tattermusch6d159822016-02-19 16:03:22 -0800344 for Cls in (CSharpExtArtifact, NodeExtArtifact, ProtocArtifact)
murgatroid9941a9e832016-02-03 09:47:35 -0800345 for platform in ('linux', 'macos', 'windows')
346 for arch in ('x86', 'x64')] +
Ken Payson5998cd72016-08-10 15:39:43 -0700347 [PythonArtifact('linux', 'x86', 'cp27-cp27m'),
348 PythonArtifact('linux', 'x86', 'cp27-cp27mu'),
349 PythonArtifact('linux', 'x86', 'cp34-cp34m'),
350 PythonArtifact('linux', 'x86', 'cp35-cp35m'),
Ken Payson626fb452017-02-17 22:52:27 -0800351 PythonArtifact('linux', 'x86', 'cp36-cp36m'),
Ken Payson5998cd72016-08-10 15:39:43 -0700352 PythonArtifact('linux', 'x64', 'cp27-cp27m'),
353 PythonArtifact('linux', 'x64', 'cp27-cp27mu'),
354 PythonArtifact('linux', 'x64', 'cp34-cp34m'),
355 PythonArtifact('linux', 'x64', 'cp35-cp35m'),
Ken Payson626fb452017-02-17 22:52:27 -0800356 PythonArtifact('linux', 'x64', 'cp36-cp36m'),
Ken Payson5998cd72016-08-10 15:39:43 -0700357 PythonArtifact('macos', 'x64', 'python2.7'),
358 PythonArtifact('macos', 'x64', 'python3.4'),
359 PythonArtifact('macos', 'x64', 'python3.5'),
Ken Payson626fb452017-02-17 22:52:27 -0800360 PythonArtifact('macos', 'x64', 'python3.6'),
Ken Payson5998cd72016-08-10 15:39:43 -0700361 PythonArtifact('windows', 'x86', 'Python27_32bits'),
362 PythonArtifact('windows', 'x86', 'Python34_32bits'),
363 PythonArtifact('windows', 'x86', 'Python35_32bits'),
Ken Payson626fb452017-02-17 22:52:27 -0800364 PythonArtifact('windows', 'x86', 'Python36_32bits'),
Ken Payson5998cd72016-08-10 15:39:43 -0700365 PythonArtifact('windows', 'x64', 'Python27'),
366 PythonArtifact('windows', 'x64', 'Python34'),
367 PythonArtifact('windows', 'x64', 'Python35'),
Ken Payson626fb452017-02-17 22:52:27 -0800368 PythonArtifact('windows', 'x64', 'Python36'),
murgatroid9933c808b2016-02-03 15:27:41 -0800369 RubyArtifact('linux', 'x64'),
Stanley Cheung5adb71f2016-02-13 00:03:02 -0800370 RubyArtifact('macos', 'x64'),
Stanley Cheungbf74d692016-02-23 22:39:25 -0800371 PHPArtifact('linux', 'x64'),
372 PHPArtifact('macos', 'x64')])