Skip to content

Commit

Permalink
Build maturin x86_64 wheels with both musllinux and manylinux platfor…
Browse files Browse the repository at this point in the history
…m tags
  • Loading branch information
messense committed May 19, 2022
1 parent 911927e commit a7286df
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,7 @@ jobs:
- name: Build wheel (with sdist)
if: matrix.target == 'x86_64-unknown-linux-musl'
run: |
# manylinux
cargo run -- build --release -b bin -o dist --target ${{ matrix.target }} --cargo-extra-args="--features password-storage"
# musllinux
cargo run -- build --release -b bin -o dist --target ${{ matrix.target }} --cargo-extra-args="--features password-storage" --no-sdist --compatibility musllinux_1_1
cargo run -- build --release -b bin -o dist --target ${{ matrix.target }} --cargo-extra-args="--features password-storage" --no-sdist --compatibility manylinux2010 musllinux_1_1
# ring doesn't support aarch64 windows yet
- name: Build wheel (windows aarch64)
Expand Down Expand Up @@ -184,7 +181,7 @@ jobs:
# musllinux
maturin build --release -b bin -o dist --no-sdist \
--target ${{ matrix.platform.target }} \
--compatibility musllinux_1_1 \
--compatibility musllinux_1_1 \
--cargo-extra-args="--features password-storage"
- name: Archive binary
run: tar czvf target/release/maturin-${{ matrix.platform.target }}.tar.gz -C target/${{ matrix.platform.target }}/release maturin
Expand Down

0 comments on commit a7286df

Please sign in to comment.