Skip to content

Commit 4a99e54

Browse files
committed
Add support for musllinux
1 parent 362f701 commit 4a99e54

File tree

3 files changed

+11
-83
lines changed

3 files changed

+11
-83
lines changed

.github/workflows/tests.yml

-79
This file was deleted.

.github/workflows/wheels.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
os: [ubuntu-22.04, macos-latest]
17+
os: [ubuntu-22.04] #, macos-latest]
1818

1919
steps:
2020
- uses: actions/checkout@v3
@@ -35,13 +35,15 @@ jobs:
3535
CIBW_BEFORE_ALL: sh build.sh
3636
CIBW_ENVIRONMENT: LIBGIT2_VERSION=1.7.1 LIBSSH2_VERSION=1.11.0 OPENSSL_VERSION=3.1.3 LIBGIT2=/project/ci
3737
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
38-
CIBW_SKIP: "pp3*"
38+
CIBW_SKIP: "pp3* *manylinux* cp36* cp37* cp38* cp39* cp310* cp311*"
39+
CIBW_BUILD: "cp312-musllinux_x86_64"
3940
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014"
4041
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
41-
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/ci/lib64 auditwheel repair -w {dest_dir} {wheel}"
42+
#CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/ci/lib64 auditwheel repair -w {dest_dir} {wheel}"
43+
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/ci/lib auditwheel repair -w {dest_dir} {wheel}"
4244
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}"
4345
CIBW_ARCHS_MACOS: universal2
44-
CIBW_ARCHS_LINUX: x86_64 aarch64
46+
CIBW_ARCHS_LINUX: x86_64 # aarch64
4547

4648
- uses: actions/upload-artifact@v3
4749
with:

build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ if [ "$CIBUILDWHEEL" = "1" ]; then
7070
else
7171
yum install perl-IPC-Cmd -y
7272
fi
73+
elif [ -f /sbin/apk ]; then
74+
apk add wget
75+
if [ -z "$OPENSSL_VERSION" ]; then
76+
apk add openssl-dev
77+
fi
7378
fi
7479
rm -rf ci
7580
mkdir ci || true

0 commit comments

Comments
 (0)