File tree Expand file tree Collapse file tree 3 files changed +48
-2
lines changed Expand file tree Collapse file tree 3 files changed +48
-2
lines changed Original file line number Diff line number Diff line change 23
23
- uses : actions/checkout@v4
24
24
with :
25
25
fetch-depth : 0 # to get gh-pages
26
+ submodules : true
26
27
- uses : astral-sh/setup-uv@v3
27
28
- uses : Swatinem/rust-cache@v2
28
29
- name : Install libduckdb
Original file line number Diff line number Diff line change 18
18
UV_NO_SYNC : true
19
19
steps :
20
20
- uses : actions/checkout@v4
21
+ with :
22
+ submodules : true
21
23
- uses : astral-sh/setup-uv@v3
22
24
- uses : Swatinem/rust-cache@v2
23
25
- name : Install dev deps
Original file line number Diff line number Diff line change @@ -14,18 +14,27 @@ concurrency:
14
14
cancel-in-progress : false
15
15
16
16
jobs :
17
- # TODO add bundled builds for platforms where we don't have pre-built libraries
18
17
linux :
19
- runs-on : ubuntu-22.04
18
+ runs-on : ubuntu-latest
20
19
strategy :
21
20
matrix :
22
21
platform :
23
22
- target : x86_64
24
23
manylinux : auto
24
+ - target : x86
25
+ manylinux : auto
25
26
- target : aarch64
26
27
manylinux : " 2_28"
28
+ - target : armv7
29
+ manylinux : auto
30
+ - target : s390x
31
+ manylinux : auto
32
+ - target : ppc64le
33
+ manylinux : auto
27
34
steps :
28
35
- uses : actions/checkout@v4
36
+ with :
37
+ submodules : true
29
38
- uses : astral-sh/setup-uv@v5
30
39
- name : Install Python
31
40
run : uv python install 3.11
42
51
name : wheels-linux-${{ matrix.platform.target }}
43
52
path : dist
44
53
54
+ musllinux :
55
+ runs-on : ubuntu-latest
56
+ strategy :
57
+ matrix :
58
+ platform :
59
+ - target : x86_64
60
+ - target : x86
61
+ - target : aarch64
62
+ - target : armv7
63
+ steps :
64
+ - uses : actions/checkout@v4
65
+ with :
66
+ submodules : true
67
+ - uses : astral-sh/setup-uv@v5
68
+ - name : Install Python
69
+ run : uv python install 3.11
70
+ - name : Build wheels
71
+ uses : PyO3/maturin-action@v1
72
+ with :
73
+ target : ${{ matrix.platform.target }}
74
+ args : --release --out dist -i 3.11 -F pyo3/abi3-py311 -F duckdb-bundled
75
+ sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
76
+ manylinux : musllinux_1_2
77
+ - name : Upload wheels
78
+ uses : actions/upload-artifact@v4
79
+ with :
80
+ name : wheels-musllinux-${{ matrix.platform.target }}
81
+ path : dist
82
+
45
83
macos :
46
84
runs-on : ${{ matrix.platform.runner }}
47
85
strategy :
53
91
target : aarch64
54
92
steps :
55
93
- uses : actions/checkout@v4
94
+ with :
95
+ submodules : true
56
96
- uses : astral-sh/setup-uv@v5
57
97
- name : Install Python
58
98
run : uv python install 3.11
72
112
runs-on : ubuntu-latest
73
113
steps :
74
114
- uses : actions/checkout@v4
115
+ with :
116
+ submodules : true
75
117
- name : Build sdist
76
118
uses : PyO3/maturin-action@v1
77
119
with :
90
132
needs :
91
133
- sdist
92
134
- linux
135
+ - musllinux
93
136
- macos
94
137
environment :
95
138
name : pypi
You can’t perform that action at this time.
0 commit comments