Skip to content

Commit

Permalink
Re-disable manylinux publish
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewphilipsmith committed Dec 17, 2024
1 parent d0d45c7 commit 28a520d
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,52 +79,52 @@ jobs:
# TODO: fix CI to run with manylinux: musllinux_1_2
# -- TESTING MANYLINUX CONFIGURATION --

musllinux:
runs-on: ${{ matrix.platform.runner }}
strategy:
matrix:
platform:
- runner: ubuntu-latest
target: x86_64
- runner: ubuntu-latest
target: x86
- runner: ubuntu-latest
target: aarch64
- runner: ubuntu-latest
target: armv7
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter --manifest-path popgetter_py/Cargo.toml
sccache: "true"
before-script-linux: |
# TODO: update with package instructions specific to target for openssl
# See example: https://github.com/PyO3/maturin-action/discussions/162#discussioncomment-7978369
sudo apt-get update
sudo apt-get install -y pkg-config libssl-dev
# For debug purposes:
sudo apt show libssl-dev
sudo apt-get install -y apt-file
sudo apt-file update
sudo apt-file list libssl-dev
uname -a
# Build is failing on
# error: failed to run custom build command for `openssl-sys v0.9.102`
docker-options: >
--env OPENSSL_INCLUDE_DIR=/usr/include/openssl
--env PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu
manylinux: musllinux_1_2
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-musllinux-${{ matrix.platform.target }}
path: dist
# musllinux:
# runs-on: ${{ matrix.platform.runner }}
# strategy:
# matrix:
# platform:
# - runner: ubuntu-latest
# target: x86_64
# - runner: ubuntu-latest
# target: x86
# - runner: ubuntu-latest
# target: aarch64
# - runner: ubuntu-latest
# target: armv7
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-python@v5
# with:
# python-version: ${{ env.PYTHON_VERSION }}
# - name: Build wheels
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.platform.target }}
# args: --release --out dist --find-interpreter --manifest-path popgetter_py/Cargo.toml
# sccache: "true"
# before-script-linux: |
# # TODO: update with package instructions specific to target for openssl
# # See example: https://github.com/PyO3/maturin-action/discussions/162#discussioncomment-7978369
# sudo apt-get update
# sudo apt-get install -y pkg-config libssl-dev
# # For debug purposes:
# sudo apt show libssl-dev
# sudo apt-get install -y apt-file
# sudo apt-file update
# sudo apt-file list libssl-dev
# uname -a
# # Build is failing on
# # error: failed to run custom build command for `openssl-sys v0.9.102`
# docker-options: >
# --env OPENSSL_INCLUDE_DIR=/usr/include/openssl
# --env PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu
# manylinux: musllinux_1_2
# - name: Upload wheels
# uses: actions/upload-artifact@v4
# with:
# name: wheels-musllinux-${{ matrix.platform.target }}
# path: dist

# -- END OF MANYLINUX CONFIGURATION --

Expand Down

0 comments on commit 28a520d

Please sign in to comment.