From bdc4ba4b7dad71cce936cfbe671b1a0227dd8465 Mon Sep 17 00:00:00 2001 From: Sammy Sidhu Date: Tue, 5 Sep 2023 18:08:14 -0700 Subject: [PATCH] [CHORE] install perl before maturin (#1345) --- .github/workflows/python-publish.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 77234fdd1f..78441f44ac 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -46,8 +46,8 @@ 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 @@ -55,7 +55,16 @@ jobs: 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