Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Build aarch64 musl wheel on GitHub Action #422

Merged
merged 1 commit into from
Feb 17, 2021
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
21 changes: 20 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,23 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: '*.{tar.gz,zip,deb}'
file_glob: true
tag: ${{ github.ref }}
tag: ${{ github.ref }}

release-musl-github-pypi:
runs-on: ubuntu-latest
strategy:
matrix:
target: [ aarch64-musl ]
container:
image: docker://benfred/rust-musl-cross:${{ matrix.target }}
env:
RUSTUP_HOME: /root/.rustup
CARGO_HOME: /root/.cargo
steps:
- uses: actions/checkout@v2
- name: Build and publish wheel
env:
MATURIN_PASSWORD: ${{ secrets.MATURIN_PASSWORD }}
run: |
sudo python3 -m pip install maturin
maturin publish -u __token__ -b bin --no-sdist -o dist --target aarch64-unknown-linux-musl --manylinux 2014