From a7286df9723803cab6883a40c0e9b07b5381992a Mon Sep 17 00:00:00 2001 From: messense Date: Thu, 19 May 2022 20:13:04 +0800 Subject: [PATCH] Build maturin x86_64 wheels with both musllinux and manylinux platform tags --- .github/workflows/release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6783eaf3..dca7f87f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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) @@ -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