Skip to content

Commit 8eac68b

Browse files
committed
musl
1 parent 70630f6 commit 8eac68b

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ linker = "aarch64-linux-gnu-gcc"
77
[target.riscv64gc-unknown-linux-gnu]
88
ar = "riscv64-linux-gnu-gcc"
99
linker = "riscv64-linux-gnu-gcc"
10+
[target.riscv64gc-unknown-linux-musl]
11+
ar = "riscv64-linux-musl-gcc"
12+
linker = "riscv64-linux-musl-gcc"
1013

1114
[target.'cfg(target_os = "macos")']
1215
rustflags = [

.github/workflows/python.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ jobs:
1616
- archit: x86_64
1717
target: x86_64-unknown-linux-gnu
1818
image: 14.04
19+
manylinux: manylinux_2_17
1920
- archit: arm
2021
target: armv7-unknown-linux-gnueabihf
2122
image: 14.04
23+
manylinux: manylinux_2_17
2224
- archit: aarch64
2325
target: aarch64-unknown-linux-gnu
2426
image: 14.04
27+
manylinux: manylinux_2_17
2528
- archit: riscv64
26-
target: riscv64gc-unknown-linux-gnu
29+
target: riscv64gc-unknown-linux-musl
2730
image: 18.04
31+
manylinux: musllinux_1_2
2832
runs-on: ubuntu-22.04
2933
steps:
3034
- name: Checkout
@@ -35,7 +39,7 @@ jobs:
3539
uses: PyO3/[email protected]
3640
with:
3741
container: registry.cn-shanghai.aliyuncs.com/lebai/util:${{matrix.image}}
38-
manylinux: 2_17
42+
manylinux: ${{matrix.manylinux}}
3943
command: build
4044
args: --release --features ffi_py,module,mdns --target ${{matrix.target}} --skip-auditwheel
4145
- name: Upload

.github/workflows/python_asyncio.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ jobs:
1616
- archit: x86_64
1717
target: x86_64-unknown-linux-gnu
1818
image: 14.04
19+
manylinux: manylinux_2_17
1920
- archit: arm
2021
target: armv7-unknown-linux-gnueabihf
2122
image: 14.04
23+
manylinux: manylinux_2_17
2224
- archit: aarch64
2325
target: aarch64-unknown-linux-gnu
2426
image: 14.04
27+
manylinux: manylinux_2_17
2528
- archit: riscv64
26-
target: riscv64gc-unknown-linux-gnu
29+
target: riscv64gc-unknown-linux-musl
2730
image: 18.04
31+
manylinux: musllinux_1_2
2832
runs-on: ubuntu-22.04
2933
steps:
3034
- name: Checkout
@@ -41,7 +45,7 @@ jobs:
4145
uses: PyO3/[email protected]
4246
with:
4347
container: registry.cn-shanghai.aliyuncs.com/lebai/util:${{matrix.image}}
44-
manylinux: 2_17
48+
manylinux: ${{matrix.manylinux}}
4549
command: build
4650
args: --release --features ffi_py_asyncio,module,mdns --target ${{matrix.target}} --skip-auditwheel
4751
- name: Upload

0 commit comments

Comments
 (0)