Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76f2a02

Browse files
committed
Try out cibuildwheel.
This is enabled for push & pull_request right now, but since we have nowhere to upload anything permanent, I'll probably switch this to tags-only for final usage, if merged.
1 parent 6a97c97 commit 76f2a02

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build CI wheels
2+
3+
on: [push, tags]
4+
5+
jobs:
6+
build_wheels:
7+
name: Build wheels on ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
matrix:
11+
os: [ubuntu-18.04, windows-latest, macos-latest]
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- uses: actions/setup-python@v2
17+
name: Install Python
18+
with:
19+
python-version: '3.7'
20+
21+
- name: Install cibuildwheel
22+
run: |
23+
python -m pip install cibuildwheel==1.5.5
24+
25+
- name: Build wheels
26+
run: |
27+
python -m cibuildwheel --output-dir wheelhouse
28+
env:
29+
CIBW_BUILD: "cp3?-*"
30+
CIBW_SKIP: "cp35-* cp36-*"
31+
32+
- uses: actions/upload-artifact@v2
33+
with:
34+
name: wheels
35+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)