mirror of https://github.com/KLayout/klayout.git
Trying to build for py 2.7 with msvc++ 9.0
This commit is contained in:
parent
2cf52b54c1
commit
05d9b4c851
|
|
@ -1,16 +1,16 @@
|
||||||
# https://aka.ms/yaml
|
# https://aka.ms/yaml
|
||||||
jobs:
|
jobs:
|
||||||
- job: 'Test'
|
- job: 'Build'
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'vs2017-win2016' # other options: 'macOS-10.13', 'ubuntu-16.04'
|
vmImage: 'vs2017-win2016' # other options: 'macOS-10.13', 'ubuntu-16.04'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
Python27:
|
Python27:
|
||||||
python.version: '2.7'
|
python.version: '2.7'
|
||||||
Python35:
|
# Python35:
|
||||||
python.version: '3.5'
|
# python.version: '3.5'
|
||||||
Python36:
|
# Python36:
|
||||||
python.version: '3.6'
|
# python.version: '3.6'
|
||||||
maxParallel: 3
|
maxParallel: 3
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -26,7 +26,6 @@ jobs:
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline' # Optional. Options: filePath, inline
|
targetType: 'inline' # Optional. Options: filePath, inline
|
||||||
#filePath: # Required when targetType == FilePath
|
|
||||||
#arguments: # Optional
|
#arguments: # Optional
|
||||||
script: | # Required when targetType == Inline
|
script: | # Required when targetType == Inline
|
||||||
pwd
|
pwd
|
||||||
|
|
@ -41,6 +40,15 @@ jobs:
|
||||||
#workingDirectory: # Optional
|
#workingDirectory: # Optional
|
||||||
displayName: 'Downloading and Extracting KLayout bits'
|
displayName: 'Downloading and Extracting KLayout bits'
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
curl https://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi -o VCForPython27.msi
|
||||||
|
msiexec /i VCForPython27.msi /quiet
|
||||||
|
set "VS90COMNTOOLS=C:\Users\VssAdministrator\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC"
|
||||||
|
curl https://raw.githubusercontent.com/mattn/gntp-send/master/include/msinttypes/stdint.h -o "%VS90COMNTOOLS%\Include\stdint.h"
|
||||||
|
dir "%VS90COMNTOOLS%\Include"
|
||||||
|
condition: eq(variables['python.version'], '2.7')
|
||||||
|
displayName: 'Installing Microsoft Visual C++ Compiler for Python 2.7'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
pip install --user --upgrade pip setuptools wheel
|
pip install --user --upgrade pip setuptools wheel
|
||||||
displayName: 'Updating pip, setuptools and wheel'
|
displayName: 'Updating pip, setuptools and wheel'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue