Skip to content

Commit

Permalink
Add support for musllinux
Browse files Browse the repository at this point in the history
  • Loading branch information
jimisola committed Jan 10, 2024
1 parent 362f701 commit 5fe8be2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 82 deletions.
79 changes: 0 additions & 79 deletions .github/workflows/tests.yml

This file was deleted.

8 changes: 5 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ jobs:
CIBW_BEFORE_ALL: sh build.sh
CIBW_ENVIRONMENT: LIBGIT2_VERSION=1.7.1 LIBSSH2_VERSION=1.11.0 OPENSSL_VERSION=3.1.3 LIBGIT2=/project/ci
CIBW_ENVIRONMENT_MACOS: LIBGIT2_VERSION=1.7.1 LIBSSH2_VERSION=1.11.0 OPENSSL_VERSION=3.1.3 LIBGIT2=/Users/runner/work/pygit2/pygit2/ci
CIBW_SKIP: "pp3*"
CIBW_SKIP: "pp3* *manylinux* cp36* cp37* cp38* cp39* cp310* cp311*"
CIBW_BUILD: "cp312-musllinux_x86_64"
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014"
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/ci/lib64 auditwheel repair -w {dest_dir} {wheel}"
#CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/ci/lib64 auditwheel repair -w {dest_dir} {wheel}"
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/ci/lib auditwheel repair -w {dest_dir} {wheel}"
CIBW_REPAIR_WHEEL_COMMAND_MACOS: "DYLD_LIBRARY_PATH=/Users/runner/work/pygit2/pygit2/ci/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}"
CIBW_ARCHS_MACOS: universal2
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ARCHS_LINUX: x86_64 # aarch64

- uses: actions/upload-artifact@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ if [ "$CIBUILDWHEEL" = "1" ]; then
else
yum install perl-IPC-Cmd -y
fi
elif [ -f /sbin/apk ]; then
apk add wget
if [ -z "$OPENSSL_VERSION" ]; then
apk add openssl-dev
fi
fi
rm -rf ci
mkdir ci || true
Expand Down

0 comments on commit 5fe8be2

Please sign in to comment.