Skip to content

Commit

Permalink
Merge pull request #18231 from meeseeksmachine/auto-backport-of-pr-18…
Browse files Browse the repository at this point in the history
…224-on-v3.3.x

Backport PR #18224 on branch v3.3.x (Try out cibuildwheel.)
  • Loading branch information
tacaswell committed Aug 12, 2020
2 parents f7d891c + 784c777 commit 4ac49b9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build CI wheels

on: [push, tags]

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.7'

- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==1.5.5
- name: Build wheels
run: |
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: "cp3?-*"
CIBW_SKIP: "cp35-* cp36-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux1

- uses: actions/upload-artifact@v2
with:
name: wheels
path: ./wheelhouse/*.whl

0 comments on commit 4ac49b9

Please sign in to comment.