Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 6 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@ jobs:
name: Wheels for ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
# let other jobs in matrix complete if one fails
fail-fast: false
matrix:
include:
- name: linux-amd
os: ubuntu-24.04
- name: linux-arm
os: ubuntu-24.04-arm
- name: macos
os: macos-13
- name: macos-intel
os: macos-15-intel
- name: macos-arm
os: macos-15
- name: windows-x64
os: windows-latest
- name: windows-x86
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ test-command = "pytest"
test-sources = ["test", "pytest.ini"]
before-test = "pip install -r {project}/requirements-test.txt"
# Will avoid testing on emulated architectures (specifically ppc64le)
test-skip = "*-*linux_ppc64le"
# Also, skip testing on pypy on macOS arm64 due issue with bootstrapping git config paths
# see https://github.com/libgit2/pygit2/issues/1442
test-skip = "*-*linux_ppc64le pp*-macosx_arm64"

[tool.cibuildwheel.linux]
repair-wheel-command = "LD_LIBRARY_PATH=/project/ci/lib64 auditwheel repair -w {dest_dir} {wheel}"
Expand All @@ -25,7 +27,6 @@ select = "*-musllinux*"
repair-wheel-command = "LD_LIBRARY_PATH=/project/ci/lib auditwheel repair -w {dest_dir} {wheel}"

[tool.cibuildwheel.macos]
archs = ["universal2"]
environment = {LIBGIT2_VERSION="1.9.1", LIBSSH2_VERSION="1.11.1", OPENSSL_VERSION="3.3.3", LIBGIT2="/Users/runner/work/pygit2/pygit2/ci"}
repair-wheel-command = "DYLD_LIBRARY_PATH=/Users/runner/work/pygit2/pygit2/ci/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}"

Expand Down
Loading