-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zqfang
committed
May 8, 2024
1 parent
7e809e3
commit bd73182
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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/[email protected] | ||
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 | ||
|