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