Skip to content

Commit

Permalink
Universal wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
rtavenar committed Jan 20, 2023
1 parent f953244 commit 3158373
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ on:
- published
jobs:
build_wheels:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
name: ubuntu-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
Expand All @@ -19,20 +16,10 @@ jobs:
with:
python-version: 3.9

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_build.txt
pip install -U "cython"
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel~=2.3
- name: Build wheel
env:
CIBW_SKIP: "pp*-win* *cp27* *cp35* *pp*"
CIBW_BEFORE_BUILD: "pip install numpy cython"
run: |
python -m cibuildwheel --output-dir wheelhouse
pip wheel -w wheelhouse/ .
- uses: actions/upload-artifact@v2
with:
name: wheels
Expand Down

0 comments on commit 3158373

Please sign in to comment.