Skip to content

Commit

Permalink
Test arm64 wheel build 7
Browse files Browse the repository at this point in the history
  • Loading branch information
scaramallion committed Jan 19, 2024
1 parent 9ac04d5 commit 711946d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,24 +206,24 @@ jobs:
python-version: '3.9'

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.2
run: python -m pip install cibuildwheel==2.16.2 wheel==0.42

- name: Build wheels
env:
CIBW_BUILD: cp${{ matrix.python }}-*
CIBW_ARCHS_MACOS: arm64
CIBW_BUILD_VERBOSITY: 1
run: |
python -m cibuildwheel --output-dir dist
- run: python -m cibuildwheel --output-dir dist
# Cross compiling wheels for arm64 with poetry creates wheels with wrong tag
- run: pip install wheel>=0.42
# Update the tag with the correct label
# Update the wheel with the correct tag
- run: wheel tags --platform-tag macosx_12_0_arm64 ./dist/*-macosx_12_0_x86_64.whl
# Remove the incorrectly tagged arm64 wheel
- run: rm ./dist/*-macosx_12_0_x86_64.whl

- uses: actions/upload-artifact@v4
name: Store artifacts
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: wheel-${{ matrix.python }}-${{ matrix.platform_id }}
path: ./dist/*.whl
Expand Down

0 comments on commit 711946d

Please sign in to comment.