File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,14 +68,15 @@ jobs:
6868 python -m venv .venv
6969 source .venv/bin/activate
7070 pip install maturin
71- - name : Build Linux binary (maturin)
72- if : matrix.platform.os_name == 'Linux-x86_64'
71+ - name : Build Linux wheel
7372 run : |
7473 docker run --rm \
7574 -v $(pwd):/io \
75+ -e PYO3_PYTHON=/usr/bin/python3.10 \
7676 --entrypoint /usr/bin/bash \
77- ghcr.io/pyo3/maturin:latest -c \
78- "yum install -y openssl-devel python3-devel && cd /io && cargo build --locked --release --target ${{ matrix.platform.target }} && strip target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }} && cd target/${{ matrix.platform.target }}/release && zip ../../../${{ matrix.platform.name }} ${{ matrix.platform.bin }}"
77+ ghcr.io/pyo3/maturin -c \
78+ "yum install -y openssl-devel && maturin build --release --manifest-path src/pyocli/Cargo.toml --out target/wheels"
79+ if : matrix.platform.os_name == 'Linux-x86_64'
7980 - name : Build macOS binary
8081 if : matrix.platform.os_name == 'macOS-aarch64'
8182 run : |
You can’t perform that action at this time.
0 commit comments