Skip to content

Commit

Permalink
Backport PR #18224: Try out cibuildwheel.
Browse files Browse the repository at this point in the history
  • Loading branch information
tacaswell authored and meeseeksmachine committed Aug 12, 2020
1 parent f7d891c commit 784c777
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 784c777

Please sign in to comment.