From 8dc77ee314a76940202c04a4a4116adb11073dd1 Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Tue, 1 Jan 2019 23:50:18 -0500 Subject: [PATCH] Adding x86 architecture --- azure-pipelines.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 34876e760..e549d454c 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -9,17 +9,29 @@ jobs: # python.version: '2.7' Python35: python.version: '3.5' + python.architecture: 'x64' Python36: python.version: '3.6' + python.architecture: 'x64' Python37: python.version: '3.7' - maxParallel: 3 + python.architecture: 'x64' + Python35_x86: + python.version: '3.5' + python.architecture: 'x86' + Python36_x86: + python.version: '3.6' + python.architecture: 'x86' + Python37_x86: + python.version: '3.7' + python.architecture: 'x86' + maxParallel: 6 steps: - task: UsePythonVersion@0 inputs: versionSpec: '$(python.version)' - architecture: 'x64' + architecture: '$(python.architecture)' # Add additional tasks to run using each Python version in the matrix above @@ -52,12 +64,13 @@ jobs: # displayName: 'Installing Microsoft Visual C++ Compiler for Python 2.7' - script: | - pip install --user --upgrade pip setuptools wheel + python -m pip install --upgrade pip setuptools wheel displayName: 'Updating pip, setuptools and wheel' - script: | python -V - set "KLAYOUT_BITS=%cd%\klayout-microbits\klayout-microbits-1.0\msvc2017\x64" + set "KLAYOUT_BITS=%cd%\klayout-microbits\klayout-microbits-1.0\msvc2017\%PYTHON_ARCHITECTURE%" + echo KLAYOUT_BITS=%KLAYOUT_BITS% python setup.py install displayName: 'Building KLayout'