Skip to content

Commit

Permalink
[CHORE] install perl before maturin (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 committed Sep 6, 2023
1 parent 62bc3bd commit bdc4ba4
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,25 @@ jobs:
- run: pip install -U twine toml
- run: python tools/patch_package_version.py
- uses: moonrepo/setup-rust@v0
- name: Build wheels - x86
if: ${{ matrix.compile_arch == 'x86_64' }}
- name: Build wheels - Mac x86
if: ${{ (matrix.os == 'macos') && (matrix.compile_arch == 'x86_64') }}
uses: messense/maturin-action@v1
with:
target: x86_64
manylinux: auto
args: --profile release-lto --out dist --sdist
env:
RUSTFLAGS: -C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma

- name: Build wheels - Linux x86
if: ${{ (matrix.os == 'ubuntu') && (matrix.compile_arch == 'x86_64') }}
uses: messense/maturin-action@v1
with:
target: x86_64
manylinux: auto
args: --profile release-lto --out dist --sdist
before-script-linux: yum -y install perl-IPC-Cmd
env:
RUSTFLAGS: -C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma
- name: Build wheels - Linux aarch64
if: ${{ (matrix.os == 'ubuntu') && (matrix.compile_arch == 'aarch64') }}
uses: messense/maturin-action@v1
Expand Down

0 comments on commit bdc4ba4

Please sign in to comment.