Skip to content

Commit

Permalink
add macos to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Aug 9, 2023
1 parent 00adcd3 commit 8eb9b9f
Showing 1 changed file with 7 additions and 28 deletions.
35 changes: 7 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,25 @@ name: Build
on: [push, pull_request, workflow_dispatch]

jobs:
build_wheels:
name: Build wheels
runs-on: ubuntu-latest
build:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_ARCHS: auto64

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl

build_legacy_wheels:
name: Build legacy wheels
runs-on: ubuntu-latest
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]

steps:
- uses: actions/checkout@v3

- name: Build wheels
uses: pypa/cibuildwheel@v1.12.0
uses: pypa/cibuildwheel@v2.10.2
env:
CIBW_BUILD: cp27-* cp35-*
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_ARCHS: auto64

- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Build sdist
run: pipx run build --sdist

Expand Down

0 comments on commit 8eb9b9f

Please sign in to comment.