Skip to content

Commit 3158373

Browse files
committed
Universal wheels
1 parent f953244 commit 3158373

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

.github/workflows/build_wheels.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ on:
66
- published
77
jobs:
88
build_wheels:
9-
name: ${{ matrix.os }}
10-
runs-on: ${{ matrix.os }}
11-
strategy:
12-
matrix:
13-
os: [ubuntu-latest, macos-latest, windows-latest]
9+
name: ubuntu-latest
10+
runs-on: ubuntu-latest
1411

1512
steps:
1613
- uses: actions/checkout@v2
@@ -19,20 +16,10 @@ jobs:
1916
with:
2017
python-version: 3.9
2118

22-
- name: Install dependencies
23-
run: |
24-
python -m pip install --upgrade pip
25-
pip install -r requirements_build.txt
26-
pip install -U "cython"
27-
- name: Install cibuildwheel
28-
run: |
29-
python -m pip install cibuildwheel~=2.3
3019
- name: Build wheel
31-
env:
32-
CIBW_SKIP: "pp*-win* *cp27* *cp35* *pp*"
33-
CIBW_BEFORE_BUILD: "pip install numpy cython"
3420
run: |
35-
python -m cibuildwheel --output-dir wheelhouse
21+
pip wheel -w wheelhouse/ .
22+
3623
- uses: actions/upload-artifact@v2
3724
with:
3825
name: wheels

0 commit comments

Comments
 (0)