diff options
author | 2016-02-20 01:30:57 +0100 | |
---|---|---|
committer | 2016-02-20 01:30:57 +0100 | |
commit | 6a4e473d4ab40f60f719876fa0f72f4dcb2a5d37 (patch) | |
tree | b4d9844db2a93dd439b2639f2bdd677effbd38b0 /tools/run_tests/artifact_targets.py | |
parent | 2e8fdbac7733b18655c61339a579cfb1eddcf42c (diff) |
32 bits support.
Diffstat (limited to 'tools/run_tests/artifact_targets.py')
-rw-r--r-- | tools/run_tests/artifact_targets.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/run_tests/artifact_targets.py b/tools/run_tests/artifact_targets.py index e106639bd1..b565fbb3f0 100644 --- a/tools/run_tests/artifact_targets.py +++ b/tools/run_tests/artifact_targets.py @@ -80,6 +80,11 @@ def macos_arch_env(arch): return {'CFLAGS': arch_arg, 'LDFLAGS': arch_arg} +python_version_arch_map = { + 'x86': 'Python27_32bits', + 'x64': 'Python27' +} + class PythonArtifact: """Builds Python artifacts.""" @@ -88,6 +93,7 @@ class PythonArtifact: self.platform = platform self.arch = arch self.labels = ['artifact', 'python', platform, arch] + self.python_version = python_version_arch_map[arch] def pre_build_jobspecs(self): return [] @@ -103,7 +109,9 @@ class PythonArtifact: environ=environ) elif self.platform == 'windows': return create_jobspec(self.name, - ['tools\\run_tests\\build_artifact_python.bat'], + ['tools\\run_tests\\build_artifact_python.bat', + self.python_version + ], shell=True) else: environ['SKIP_PIP_INSTALL'] = 'TRUE' @@ -236,6 +244,7 @@ def targets(): [PythonArtifact('linux', 'x86'), PythonArtifact('linux', 'x64'), PythonArtifact('macos', 'x64'), + PythonArtifact('windows', 'x86'), PythonArtifact('windows', 'x64'), RubyArtifact('linux', 'x86'), RubyArtifact('linux', 'x64'), |