Skip to content

Commit

Permalink
correct manylinux triple
Browse files Browse the repository at this point in the history
  • Loading branch information
dvmarcilio committed Jul 12, 2024
1 parent 6069759 commit 30d755a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/polyglot_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ jobs:
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
- name: Build wheel with Maturin ${{ matrix.target }}
if: ${{ matrix.target == 'linux-x86' }}
# many_linux_2_28 is compatible with Debian 10: https://github.com/pypa/manylinux/tree/8e297ac3813be400a9a244a2828c18d3dd7e6969?tab=readme-ov-file#manylinux_2_28-almalinux-8-based
run: |
maturin build --release -o dist --target ${{ fromJSON('{"linux-x86":"manylinux_2_28","linux-arm":"aarch64-unknown-linux-gnu","macos-arm":"universal2-apple-darwin"}')[matrix.target] }} -i ${{ matrix.python-version }}
maturin build --release -o dist --target ${{ fromJSON('{"linux-x86":"manylinux_2_28_x86_64","linux-arm":"aarch64-unknown-linux-gnu","macos-arm":"universal2-apple-darwin"}')[matrix.target] }} -i ${{ matrix.python-version }}
- name: Build source distribution
if: ${{ matrix.target == 'linux-x86' }}
run: |
Expand Down

0 comments on commit 30d755a

Please sign in to comment.