Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Actions workflow to build Python 3.10 wheels #610

Merged
merged 6 commits into from
Nov 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 40 additions & 3 deletions .github/workflows/wheel_tests_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,42 @@ jobs:
- os: ubuntu-18.04
cibw_python: "cp39-*"
cibw_manylinux: manylinux2010
- os: ubuntu-18.04
cibw_python: "cp310-*"
cibw_manylinux: manylinux2014
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.9'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel
- name: Build the wheel
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: ${{ matrix.cibw_python }}
CIBW_ARCHS_LINUX: x86_64 i686
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }}
- uses: actions/upload-artifact@v2
with:
name: wheels
path: ./dist/*.whl

build_linux_aarch64_wheels:
name: Build python ${{ matrix.cibw_python }} aarch64 wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04]
cibw_python: [ "cp37-*", "cp38-*" , "cp39-*", "cp310-*"]
cibw_manylinux: [ manylinux2014 ]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -45,7 +81,8 @@ jobs:
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: ${{ matrix.cibw_python }}
CIBW_ARCHS_LINUX: auto aarch64
CIBW_ARCHS_LINUX: aarch64
CIBW_SKIP: "*-musllinux_*"
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }}
- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -79,7 +116,7 @@ jobs:
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: "cp3?-*"
CIBW_BUILD: "cp3?-* cp310-*"
CIBW_SKIP: "cp36-*"
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
Expand Down Expand Up @@ -121,7 +158,7 @@ jobs:
run: |
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: "cp3?-*"
CIBW_BUILD: "cp3?-* cp310-*"
CIBW_SKIP: "cp36-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1
Expand Down