Skip to content

Commit

Permalink
wheels build and upload
Browse files Browse the repository at this point in the history
  • Loading branch information
zqfang committed May 8, 2024
1 parent 7e809e3 commit bd73182
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
TWINE_USERNAME: __token__
build_wheels_aarch64:
name: Build wheels on ${{ matrix.os }}
name: Build linux aarch64 wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -137,15 +137,15 @@ jobs:
TWINE_USERNAME: __token__

build-mac-arm-wheels:
name: Build wheels on macos for arm and universal2
name: Build wheels on macos for arm
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: joerick/cibuildwheel@v2.17.0
env:
CIBW_BEFORE_ALL: rustup target add aarch64-apple-darwin
CIBW_ARCHS_MACOS: arm64 universal2
CIBW_ARCHS_MACOS: arm64
CIBW_BEFORE_BUILD: pip install -U setuptools-rust
CIBW_ENVIRONMENT: CARGO_BUILD_TARGET="aarch64-apple-darwin" PYO3_CROSS_LIB_DIR="/Library/Frameworks/Python.framework/Versions/$(python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))')/lib/python$(python -c 'import sys; print(str(sys.version_info[0])+"."+str(sys.version_info[1]))')"
# - uses: actions/upload-artifact@v4
Expand Down

0 comments on commit bd73182

Please sign in to comment.