summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/wheels.yml38
1 files changed, 26 insertions, 12 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index cd5d8484a..076ac32c7 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -37,7 +37,7 @@ jobs:
echo "::set-output name=message::$COMMIT_MSG"
build_wheels:
- name: Build wheel for cp${{ matrix.python }}-${{ matrix.platform }}
+ name: Build wheel for ${{ matrix.python }}-${{ matrix.platform }}
needs: get_commit_message
if: >-
contains(needs.get_commit_message.outputs.message, '[wheel build]') ||
@@ -51,35 +51,49 @@ jobs:
include:
# manylinux builds
- os: ubuntu-20.04
- python: "38"
+ python: "cp38"
platform: manylinux_x86_64
- os: ubuntu-20.04
- python: "39"
+ python: "cp39"
platform: manylinux_x86_64
- os: ubuntu-20.04
- python: "310"
+ python: "cp310"
+ platform: manylinux_x86_64
+ # manylinux pypy builds
+ - os: ubuntu-20.04
+ python: "pp38"
platform: manylinux_x86_64
# MacOS builds
- os: macos-10.15
- python: "38"
+ python: "cp38"
platform: macosx_*
- os: macos-10.15
- python: "39"
+ python: "cp39"
platform: macosx_*
- os: macos-10.15
- python: "310"
+ python: "cp310"
platform: macosx_*
+ # MacOS PyPy builds
+ # Disabled for now because of a PyPy bug
+ # that prevents successful compilation
+ #- os: macos-10.15
+ # python: "pp38"
+ # platform: macosx_x86_64
# Windows builds
- os: windows-2019
- python: "38"
+ python: "cp38"
+ platform: win_amd64
+ - os: windows-2019
+ python: "cp39"
platform: win_amd64
- os: windows-2019
- python: "39"
+ python: "cp310"
platform: win_amd64
+ # Windows PyPy builds
- os: windows-2019
- python: "310"
+ python: "pp38"
platform: win_amd64
steps:
@@ -94,10 +108,10 @@ jobs:
fetch-depth: 0
- name: Build wheels
- uses: pypa/cibuildwheel@v2.1.3
+ uses: pypa/cibuildwheel@v2.3.0
env:
NPY_USE_BLAS_ILP64: 1
- CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform }}
+ CIBW_BUILD: ${{ matrix.python }}-${{ matrix.platform }}
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_ENVIRONMENT_LINUX: CFLAGS='-std=c99 -fno-strict-aliasing'
LDFLAGS='-Wl,--strip-debug'