From 711946d832ec633a3e3392bf23ac374676af5482 Mon Sep 17 00:00:00 2001 From: scaramallion Date: Sat, 20 Jan 2024 10:39:14 +1100 Subject: [PATCH] Test arm64 wheel build 7 --- .github/workflows/release-wheels.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-wheels.yml b/.github/workflows/release-wheels.yml index f4f0c98..f40d25f 100644 --- a/.github/workflows/release-wheels.yml +++ b/.github/workflows/release-wheels.yml @@ -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