Skip to content

Commit

Permalink
Splitting Mac archs
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargm98 committed Jul 27, 2023
1 parent 0e238ea commit 210e6ac
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/cibuildwheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,22 @@ jobs:
# CIBW_TEST_REQUIRES: pytest blosc2
# CIBW_TEST_COMMAND: python -m pytest -m "not heavy" {project}/examples
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_MACOS: "x86_64"

- name: Build wheels (Mac OSX arm64)
if: runner.os != 'Windows' && runner.os != 'Linux'
run: |
python -m pip install cibuildwheel
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_BUILD: python -m pip install --upgrade pip && python -m pip install -r requirements-build.txt
CIBW_BUILD: 'cp38-* cp39-* cp310-* cp311-*'
CIBW_SKIP: '*-manylinux*_i686 *-musllinux_* ${{ env.CIBW_SKIP}}'
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
# CIBW_TEST_REQUIRES: pytest blosc2
# CIBW_TEST_COMMAND: python -m pytest -m "not heavy" {project}/examples
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS_MACOS: "arm64"

- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 210e6ac

Please sign in to comment.