File tree Expand file tree Collapse file tree 3 files changed +29
-25
lines changed Expand file tree Collapse file tree 3 files changed +29
-25
lines changed Original file line number Diff line number Diff line change 22
22
23
23
jobs :
24
24
# 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}}
44
44
45
45
build-wheels-and-test :
46
46
strategy :
47
47
fail-fast : false
48
48
matrix :
49
49
runs-on :
50
50
- ubuntu-latest
51
- - macos-latest
51
+ # - macos-latest
52
52
runs-on : ${{matrix.runs-on}}
53
53
steps :
54
54
- uses : actions/checkout@v4
64
64
publish :
65
65
needs :
66
66
- build-wheels-and-test
67
- - build-wheels
67
+ # - build-wheels
68
68
runs-on : ubuntu-latest
69
69
if : startsWith(github.ref, 'refs/tags/')
70
70
steps :
Original file line number Diff line number Diff line change @@ -3,12 +3,16 @@ ifeq ($(OS),Windows_NT)
3
3
EXE =.exe
4
4
endif
5
5
version =$(project_version ) .windows.1
6
+ ifeq ($(shell sh -c 'echo $$OSTYPE') ,linux-musl)
7
+ ARGS=NO_REGEX =YesPlease
8
+ endif
6
9
7
10
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=
9
13
10
14
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
12
16
scripts/chomp.sh $(prefix ) /libexec/git-core
13
17
rm -rf $<
14
18
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Source = "https://github.com/xmake-io/git-wheel"
38
38
39
39
[tool .cibuildwheel ]
40
40
archs = [" all" ]
41
- build = " *312-*"
41
+ build = " *312-musllinux_ *"
42
42
# manylinux_2_28 doesn't have 2_28
43
43
skip = " *-macosx_x86_64 *_universal2 *-manylinux_i686"
44
44
build-frontend = " build[uv]"
@@ -71,4 +71,4 @@ before-all = "apt-get -y update && apt-get -y install -y libcurl4-openssl-dev li
71
71
72
72
[[tool .cibuildwheel .overrides ]]
73
73
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 "
You can’t perform that action at this time.
0 commit comments