|
|
|
@ -121,6 +121,7 @@ jobs: |
|
|
|
|
with: |
|
|
|
|
platforms: linux/${{ matrix.architecture }} |
|
|
|
|
if: github.event_name == 'release' && matrix.architecture != 'x86_64' |
|
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
- run: sed 's/%arch%/${{ matrix.architecture }}/g' .github/workflows/manylinux_build.sh | sed 's/%for_each_version%/${{ github.event_name == 'release' || '' }}/g' > .github/workflows/manylinux_build_script.sh |
|
|
|
|
- run: docker run -v "$(pwd)":/workdir --platform linux/${{ matrix.architecture }} quay.io/pypa/manylinux2014_${{ matrix.architecture }} /bin/bash /workdir/.github/workflows/manylinux_build_script.sh |
|
|
|
|
if: github.event_name == 'release' || matrix.architecture == 'x86_64' |
|
|
|
@ -149,6 +150,7 @@ jobs: |
|
|
|
|
with: |
|
|
|
|
platforms: linux/${{ matrix.architecture }} |
|
|
|
|
if: github.event_name == 'release' && matrix.architecture != 'x86_64' |
|
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
|
- run: sed 's/%arch%/${{ matrix.architecture }}/g' .github/workflows/musllinux_build.sh | sed 's/%for_each_version%/${{ github.event_name == 'release' || '' }}/g' > .github/workflows/musllinux_build_script.sh |
|
|
|
|
- run: docker run -v "$(pwd)":/workdir --platform linux/${{ matrix.architecture }} quay.io/pypa/musllinux_1_1_${{ matrix.architecture }} /bin/bash /workdir/.github/workflows/musllinux_build_script.sh |
|
|
|
|
if: github.event_name == 'release' || matrix.architecture == 'x86_64' |
|
|
|
|