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

Skip to content

Commit 627dd18

Browse files
authored
Merge pull request #18224 from QuLogic/cibuildwheel
CI/BLD: Try out cibuildwheel.
2 parents 6a97c97 + 80ebfc4 commit 627dd18

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
32+
CIBW_MANYLINUX_I686_IMAGE: manylinux1
33+
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux1
34+
35+
- uses: actions/upload-artifact@v2
36+
with:
37+
name: wheels
38+
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)