Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix github actions build with the latest maturin #508

Merged
merged 2 commits into from
Jul 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: |
rustup target add aarch64-apple-darwin
pip install --upgrade maturin
maturin build --release -o dist --universal2 --no-sdist
maturin build --release -o dist --universal2
if: matrix.os == 'macos-latest'
- name: Rename Wheels
run: |
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- name: Build
run: |
python3 -m pip install --upgrade maturin
maturin build --release -o dist --no-sdist --target $RUST_MUSL_CROSS_TARGET
maturin build --release -o dist --target $RUST_MUSL_CROSS_TARGET
- name: Rename Wheels
run: |
python3 -c "import shutil; import glob; wheels = glob.glob('dist/*.whl'); [shutil.move(wheel, wheel.replace('py3', 'py2.py3')) for wheel in wheels if 'py2' not in wheel]"
Expand Down