Skip to content

Commit ef8a510

Browse files
committed
💚 Fix CI/CD
1 parent a8c9d28 commit ef8a510

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: msys2/setup-msys2@v2
3333
with:
3434
install: gzip make
35-
pacboy: gcc uv make curl
35+
pacboy: gcc uv make curl diffutils pcre2 expat
3636
- name: Build
3737
run: |
3838
uv build --wheel

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ This project provides python wheels for git. GNU make doesn't have builtin
66
support for cross compilation on macOS and Windows like xmake. So the wheels for
77
macOS on amd64 and Windows for arm64 are missing.
88

9-
Attached perl/python/tcl/sh scripts cannot work, because their depends on
9+
Attached perl/python/tcl/sh scripts cannot work. Because they depends on
1010
perl/python/tcl/sh.
11-
12-
See [xmake-python](https://github.com/xmake-io/xmake-python#autotoolsmakefile).

pyproject.toml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,22 @@ Source = "https://github.com/xmake-io/git-wheel"
3939
[tool.cibuildwheel]
4040
archs = ["all"]
4141
build = "*312-*"
42-
skip = "*-macosx_x86_64 *_universal2"
42+
# manylinux_2_28 doesn't have 2_28
43+
skip = "*-macosx_x86_64 *_universal2 *-manylinux_i686"
4344
build-frontend = "build[uv]"
45+
# glibc miss sys/random.h
46+
manylinux-x86_64-image = "manylinux_2_28"
47+
manylinux-aarch64-image = "manylinux_2_28"
48+
manylinux-ppc64le-image = "manylinux_2_28"
49+
manylinux-s390x-image = "manylinux_2_28"
50+
51+
[tool.cibuildwheel.environment]
52+
MACOSX_DEPLOYMENT_TARGET = "14.0"
4453

4554
[[tool.cibuildwheel.overrides]]
4655
select = ["*-macosx_*"]
4756
# AssertionError: uv not found
48-
before-all = "brew install uv curl"
57+
before-all = "brew install uv"
4958

5059
# https://github.com/astral-sh/uv/issues/10260
5160
[[tool.cibuildwheel.overrides]]
@@ -54,12 +63,12 @@ build-frontend = "build"
5463

5564
[[tool.cibuildwheel.overrides]]
5665
select = ["*-manylinux_*"]
57-
before-all = "yum -y install curl-devel"
66+
before-all = "yum -y install curl-devel openssl-devel gettext"
5867

5968
[[tool.cibuildwheel.overrides]]
60-
select = ["*-manylinux_2_31"]
61-
before-all = "apt-get update && apt-get install -y curl-dev"
69+
select = ["*-manylinux_armv7l"]
70+
before-all = "apt-get update && apt-get install -y curl-dev openssl-dev gettext"
6271

6372
[[tool.cibuildwheel.overrides]]
6473
select = ["*-musllinux_*"]
65-
before-all = "apk add gzip curl-dev"
74+
before-all = "apk add gzip curl-dev openssl-dev gettext"

0 commit comments

Comments
 (0)