Skip to content

Commit

Permalink
Merge pull request #675 from nsait-linaro/publish_arm64_wheel
Browse files Browse the repository at this point in the history
Publish win/arm64 wheels to pypi
  • Loading branch information
messense authored Nov 10, 2021
2 parents 8c09cd8 + f1f6c61 commit 0fea704
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,11 @@ jobs:
cargo run -- publish -u __token__ -b bin --target ${{ matrix.target }} --no-sdist --compatibility musllinux_1_1
# ring doesn't support aarch64 windows yet
# PyPI doesn't support uploading windows arm64 wheels yet, so we only upload it to GitHub releases
# https://github.com/pypa/warehouse/blob/4a085e98a8ead333bb7c600a464ed7aec33de4d1/warehouse/forklift/legacy.py#L107-L125
- name: Publish to pypi (windows aarch64)
if: matrix.target == 'aarch64-pc-windows-msvc'
env:
MATURIN_PASSWORD: ${{ secrets.MATURIN_PASSWORD }}
run: cargo run -- build --release -b bin --target ${{ matrix.target }} --no-sdist --cargo-extra-args="--no-default-features" --cargo-extra-args="--features log,upload,human-panic"
run: cargo run -- publish -u __token__ -b bin --target ${{ matrix.target }} --no-sdist --cargo-extra-args="--no-default-features" --cargo-extra-args="--features log,upload,human-panic"

- name: Publish to pypi (without sdist)
if: ${{ matrix.target != 'x86_64-unknown-linux-musl' && matrix.target != 'aarch64-pc-windows-msvc' }}
Expand Down

0 comments on commit 0fea704

Please sign in to comment.