Skip to content

Commit 22f4528

Browse files
authored
building wheels for mac (#302)
* checking new cibuildwheel * cleaning
1 parent 7c56fdb commit 22f4528

2 files changed

Lines changed: 11 additions & 13 deletions

File tree

.azurePipeline/cibuildwheel_steps.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11

22
steps:
33
- bash: |
4-
python -m pip install -U wheel==0.34.1
5-
# See https://github.com/joerick/cibuildwheel/pull/220
6-
# for discussion on supporting MacOS x64 builds
7-
python -m pip install git+https://github.com/joerick/cibuildwheel@b779a88fde08aa85dd2e86dea536b70dfcad913c
4+
python3 -m pip install --upgrade pip
5+
pip3 install cibuildwheel==1.4.2
86
cibuildwheel --print-build-identifiers
97
cibuildwheel --output-dir wheelhouse .
108
displayName: Build Wheel

azurePipeline.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ stages:
1515
CIBW_BEFORE_BUILD_LINUX: 'yum install -y libffi-devel atlas-devel'
1616
# Only build for Python36+, and x64 arch
1717
CIBW_BUILD: 'cp38-* cp37-* cp36-*'
18-
# Add MacOS Python 3.6 and 3.7 on x64 once https://github.com/joerick/cibuildwheel/pull/220
19-
# is merged/released.
20-
CIBW_SKIP: '*-win32 *-manylinux_i686 *macosx_intel'
18+
CIBW_SKIP: '*-win32 *-manylinux_i686'
2119
jobs:
2220
- job: linux_38
2321
displayName: Linux + Python3.8
@@ -49,7 +47,10 @@ stages:
4947
variables:
5048
MACOSX_DEPLOYMENT_TARGET: '10.14'
5149
steps:
52-
- template: .azurePipeline/cibuildwheel_steps.yml
50+
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.6', architecture: x64}}
51+
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.7', architecture: x64}}
52+
- {task: UsePythonVersion@0, inputs: {versionSpec: '3.8', architecture: x64}}
53+
- template: .azurePipeline/cibuildwheel_steps.yml
5354
- job: windows
5455
displayName: Windows
5556
pool: {vmImage: 'vs2017-win2016'}
@@ -90,11 +91,10 @@ stages:
9091
vmImage: 'macOS-10.14'
9192
strategy:
9293
matrix:
93-
# Uncomment once wheels build on Python3.7 x64
94-
# Python3.7:
95-
# pythonVersion: '3.7'
96-
# artifactName: 'wheels.macos'
97-
# artifactPattern: '**/*cp37*.whl'
94+
Python3.7:
95+
pythonVersion: '3.7'
96+
artifactName: 'wheels.macos'
97+
artifactPattern: '**/*cp37*.whl'
9898
Python3.8:
9999
pythonVersion: '3.8'
100100
artifactName: 'wheels.macos'

0 commit comments

Comments
 (0)