Skip to content

Commit

Permalink
Python 3.10 and osx-arm64 wheel builds (#206)
Browse files Browse the repository at this point in the history
* try python 3.7 for mac wheel build

* try newer cibuildwheel

* try newer cibuildwheel

* try python 3.6

* skip cp36*

* python3

* deploy target

* sha256sum syntax

* ci churn

* typo

* osx-arm64 wheel build

* osx-arm64 wheel build syntax

* bump

* again

* syntax

* bump again

* back to beginning

* some more

* skip?

* dups?
  • Loading branch information
hobu authored Feb 4, 2022
1 parent 0bc99bb commit 390a060
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: true
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.8']
python-version: ['3.9','3.10']
sidx-version: ['1.8.5','1.9.3']

steps:
Expand Down Expand Up @@ -122,6 +122,8 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
MACOSX_DEPLOYMENT_TARGET: 10.9
CIBW_BUILD_VERBOSITY_MACOS: 3
CIBW_TEST_SKIP: "*-macosx_arm64 *-macosx_universal2:arm64"
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: ""
CIBW_BEFORE_BUILD_LINUX: "pip install cmake; bash {project}/ci/install_libspatialindex.bash"
strategy:
Expand All @@ -135,7 +137,7 @@ jobs:
python-version: '3.7'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel
python -m pip install cibuildwheel==2.3.1
- name: Run MacOS Preinstall Build
if: startsWith(matrix.os, 'macos')
run: |
Expand Down Expand Up @@ -163,7 +165,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python_tag: [ "cp35-*", "cp36-*", "cp37-*", "cp38-*", "cp39-*"]
python_tag: [ "cp37-*", "cp38-*", "cp39-*", "cp310-*"]
env:
CIBW_ARCHS_LINUX: aarch64
CIBW_BUILD: ${{matrix.python_tag}}
Expand All @@ -179,7 +181,7 @@ jobs:
python-version: '3.8'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==1.10.0
python -m pip install cibuildwheel==2.3.1
- uses: docker/setup-qemu-action@v1
name: Set up QEMU
- name: Build wheels
Expand Down

0 comments on commit 390a060

Please sign in to comment.