Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: "2_28"
args: --release --out dist -i python3.10 --features vendored-openssl
args: --release --out dist --compatibility pypi -i python3.10 --features vendored-openssl
sccache: true
before-script-linux: |
if command -v dnf >/dev/null 2>&1; then
Expand Down Expand Up @@ -94,39 +94,39 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --features vendored-openssl
args: --release --out dist --compatibility pypi --features vendored-openssl
sccache: true
- uses: actions/upload-artifact@v6
with:
name: wheels-macos-${{ matrix.target }}
path: dist

windows:
name: Windows wheels (${{ matrix.target }})
name: Windows wheels (${{ matrix.python_arch }})
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
target: [x64]
include:
- python_arch: x64
steps:
- uses: actions/checkout@v5
with:
ref: ${{ inputs.git_ref }}
- uses: actions/setup-python@v6
with:
python-version: "3.12"
architecture: ${{ matrix.target }}
architecture: ${{ matrix.python_arch }}
- uses: dtolnay/rust-toolchain@stable
- name: Build wheel
env:
RUSTFLAGS: -D warnings
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --features vendored-openssl
sccache: true
run: |
python -m pip install --upgrade pip maturin
maturin build --release --out dist --compatibility pypi --features vendored-openssl -i python
- uses: actions/upload-artifact@v6
with:
name: wheels-windows-${{ matrix.target }}
name: wheels-windows-${{ matrix.python_arch }}
path: dist

publish:
Expand Down