Skip to content

Commit

Permalink
Also build Python 3.10 wheels (Chia-Network#292)
Browse files Browse the repository at this point in the history
* Also build Python 3.10 wheels

* Test all Python versions

* Use cibuildwheel 2.2.2

* Skip musllinux for now

* Add CPython $v to now-matrixed test jobs

* add 3.10 builds to AARCH64

* break out testing of all pythons to another PR

* Skip musllinux on aarch64
  • Loading branch information
altendky authored and UdjinM6 committed Sep 6, 2022
1 parent 1bdef34 commit ba9bbb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-aarch64.yml
Expand Up @@ -30,7 +30,7 @@ jobs:
python3 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
python -m pip install cibuildwheel==1.10.0
python -m pip install cibuildwheel==2.2.2
- name: Lint source with flake8
run: |
Expand All @@ -49,8 +49,8 @@ jobs:
source venv/bin/activate
python -m cibuildwheel --output-dir dist
env:
# build python 3.7 and 3.8
CIBW_BUILD: cp37-* cp38-* cp39-*
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-*
CIBW_SKIP: '*-musllinux_*'
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
CIBW_BUILD_VERBOSITY_LINUX: 0
CIBW_BEFORE_BUILD_LINUX: >
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build-wheels.yml
Expand Up @@ -46,16 +46,15 @@ jobs:
python -m build --sdist --outdir dist .
- name: Build ${{ matrix.os }} wheels and test
uses: joerick/cibuildwheel@v1.10.0
uses: joerick/cibuildwheel@v2.2.2
with:
output-dir: dist
env:
CIBW_BUILD_VERBOSITY_MACOS: 0
CIBW_BUILD_VERBOSITY_LINUX: 0
CIBW_BUILD_VERBOSITY_WINDOWS: 0
# Python 3.7 and 3.8
CIBW_BUILD: cp37-* cp38-* cp39-*
CIBW_SKIP: '*-manylinux_i686 *-win32'
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-*
CIBW_SKIP: '*-manylinux_i686 *-win32 *-musllinux_*'
CIBW_TEST_REQUIRES: pytest
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010
CIBW_ENVIRONMENT_LINUX: "PATH=/project/cmake-3.17.3-Linux-`uname -m`/bin:$PATH"
Expand Down

0 comments on commit ba9bbb2

Please sign in to comment.