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

Skip to content

Commit d9fc2f5

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 f71ec63 commit d9fc2f5

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ciwheel.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build CI wheels
2+
3+
on: [push, pull_request]
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: Install Visual C++ for Python 2.7
26+
if: runner.os == 'Windows'
27+
run: |
28+
choco install vcpython27 -f -y
29+
30+
- name: Build wheels
31+
run: |
32+
python -m cibuildwheel --output-dir wheelhouse
33+
34+
- uses: actions/upload-artifact@v2
35+
with:
36+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)