Skip to content

Commit

Permalink
ci: update runners and add arm64 builds for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
percevalw committed Dec 4, 2023
1 parent b7ff176 commit ecaec24
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ on:

jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
name: Build wheels on ${{ matrix.os }}/${{ matrix.arch || '*' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2

- name: Build wheels
uses: pypa/[email protected]
uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: "x86_64 arm64"

- uses: actions/upload-artifact@v2
with:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-10.15]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v2

- name: Build wheels
uses: pypa/[email protected]
uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: "x86_64 arm64"

build_sdist:
name: Build source distribution
Expand Down

0 comments on commit ecaec24

Please sign in to comment.