Skip to content

Commit 5d12c7d

Browse files
committed
Test buildwheels
1 parent ab9c211 commit 5d12c7d

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/lint-test.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,28 @@ jobs:
2828
- run: pip install pytest==5.4.1
2929
- name: Test with pytest
3030
run: pytest
31+
build_wheels:
32+
name: Build wheels on ${{ matrix.os }}
33+
runs-on: ${{ matrix.os }}
34+
strategy:
35+
matrix:
36+
os: [ ubuntu-20.04, windows-2019, macOS-11 ]
37+
38+
steps:
39+
- uses: actions/checkout@v3
40+
41+
# Used to host cibuildwheel
42+
- uses: actions/setup-python@v3
43+
44+
- name: Install cibuildwheel
45+
run: python -m pip install cibuildwheel==2.14.1
46+
47+
- name: Build wheels
48+
run: python -m cibuildwheel --output-dir wheelhouse
49+
# to supply options, put them in 'env', like:
50+
# env:
51+
# CIBW_SOME_OPTION: value
52+
53+
- uses: actions/upload-artifact@v3
54+
with:
55+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)