Skip to content

Commit 88cfb3c

Browse files
committed
💩 Test musl
1 parent 18afd61 commit 88cfb3c

File tree

3 files changed

+29
-25
lines changed

3 files changed

+29
-25
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,33 @@ env:
2222

2323
jobs:
2424
# windows doesn't use cibuildwheel
25-
build-wheels:
26-
defaults:
27-
run:
28-
shell: msys2 {0}
29-
runs-on: windows-latest
30-
steps:
31-
- uses: actions/checkout@v4
32-
- uses: msys2/setup-msys2@v2
33-
with:
34-
install: gzip make
35-
pacboy: gcc uv make curl diffutils pcre2 expat
36-
- name: Build
37-
run: |
38-
uv build --wheel
39-
- uses: actions/upload-artifact@v4
40-
with:
41-
name: artifact-windows-latest
42-
path: |
43-
${{env.files}}
25+
# build-wheels:
26+
# defaults:
27+
# run:
28+
# shell: msys2 {0}
29+
# runs-on: windows-latest
30+
# steps:
31+
# - uses: actions/checkout@v4
32+
# - uses: msys2/setup-msys2@v2
33+
# with:
34+
# install: gzip make
35+
# pacboy: gcc uv make curl diffutils pcre2 expat
36+
# - name: Build
37+
# run: |
38+
# uv build --wheel
39+
# - uses: actions/upload-artifact@v4
40+
# with:
41+
# name: artifact-windows-latest
42+
# path: |
43+
# ${{env.files}}
4444

4545
build-wheels-and-test:
4646
strategy:
4747
fail-fast: false
4848
matrix:
4949
runs-on:
5050
- ubuntu-latest
51-
- macos-latest
51+
# - macos-latest
5252
runs-on: ${{matrix.runs-on}}
5353
steps:
5454
- uses: actions/checkout@v4
@@ -64,7 +64,7 @@ jobs:
6464
publish:
6565
needs:
6666
- build-wheels-and-test
67-
- build-wheels
67+
# - build-wheels
6868
runs-on: ubuntu-latest
6969
if: startsWith(github.ref, 'refs/tags/')
7070
steps:

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ ifeq ($(OS),Windows_NT)
33
EXE=.exe
44
endif
55
version=$(project_version).windows.1
6+
ifeq ($(shell sh -c 'echo $$OSTYPE'),linux-musl)
7+
ARGS=NO_REGEX=YesPlease
8+
endif
69

710
git-$(version)/git$(EXE): git-$(version)/config.h
8-
$(MAKE) -j$(shell nproc) -C git-$(version) prefix=
11+
sh -c 'echo ============================== $$OSTYPE'
12+
$(MAKE) -j$(shell nproc) -C git-$(version) $(ARGS) prefix=
913

1014
install: git-$(version)/git$(EXE) scripts/chomp.sh
11-
DESTDIR=$(prefix) $(MAKE) -j$(shell nproc) -C git-$(version) prefix= install
15+
DESTDIR=$(prefix) $(MAKE) -j$(shell nproc) -C git-$(version) $(ARGS) prefix= install
1216
scripts/chomp.sh $(prefix)/libexec/git-core
1317
rm -rf $<
1418

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Source = "https://github.com/xmake-io/git-wheel"
3838

3939
[tool.cibuildwheel]
4040
archs = ["all"]
41-
build = "*312-*"
41+
build = "*312-musllinux_*"
4242
# manylinux_2_28 doesn't have 2_28
4343
skip = "*-macosx_x86_64 *_universal2 *-manylinux_i686"
4444
build-frontend = "build[uv]"
@@ -71,4 +71,4 @@ before-all = "apt-get -y update && apt-get -y install -y libcurl4-openssl-dev li
7171

7272
[[tool.cibuildwheel.overrides]]
7373
select = ["*-musllinux_*"]
74-
before-all = "apk add gzip curl-dev openssl-dev gettext"
74+
before-all = "apk add gzip curl-dev openssl-dev gettext pcre2-dev"

0 commit comments

Comments
 (0)