Adding x86 architecture

This commit is contained in:
Thomas Ferreira de Lima 2019-01-01 23:50:18 -05:00
parent 7212d347f1
commit 8dc77ee314
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
1 changed files with 17 additions and 4 deletions

View File

@ -9,17 +9,29 @@ jobs:
# python.version: '2.7' # python.version: '2.7'
Python35: Python35:
python.version: '3.5' python.version: '3.5'
python.architecture: 'x64'
Python36: Python36:
python.version: '3.6' python.version: '3.6'
python.architecture: 'x64'
Python37: Python37:
python.version: '3.7' 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: steps:
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: '$(python.version)' versionSpec: '$(python.version)'
architecture: 'x64' architecture: '$(python.architecture)'
# Add additional tasks to run using each Python version in the matrix above # 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' # displayName: 'Installing Microsoft Visual C++ Compiler for Python 2.7'
- script: | - script: |
pip install --user --upgrade pip setuptools wheel python -m pip install --upgrade pip setuptools wheel
displayName: 'Updating pip, setuptools and wheel' displayName: 'Updating pip, setuptools and wheel'
- script: | - script: |
python -V 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 python setup.py install
displayName: 'Building KLayout' displayName: 'Building KLayout'