Skip to content

Commit

Permalink
[fix]: Build wheels for all manylinux tags
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed May 10, 2021
1 parent 8220627 commit 08c9373
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: Build and upload to PyPI

env:
CIBW_BUILD: cp36-* cp37-* cp38-* ## Only compile this cpython versions
# build using the manylinux1 image to ensure manylinux1 wheels are produced
# skip PyPy, since there is no PyPy manylinux1 image
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1

# Build on every branch push, tag push, and pull request change:
#on: [push, pull_request]
Expand All @@ -27,9 +23,17 @@ jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.many_linux_tag }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.many_linux_tag }}
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.many_linux_tag }}
CIBW_MANYLINUX_PPC64LE_IMAGE: ${{ matrix.many_linux_tag }}
CIBW_MANYLINUX_S390X_IMAGE: ${{ matrix.many_linux_tag }}

strategy:
matrix:
os: [ubuntu-latest]
many_linux_tag: [manylinux1 manylinux2010 manylinux2014]

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 08c9373

Please sign in to comment.