Skip to content

Commit 723fc77

Browse files
committed
remove unsupported maturin platforms
1 parent ef0885b commit 723fc77

File tree

1 file changed

+45
-41
lines changed

1 file changed

+45
-41
lines changed

.github/workflows/CI.yml

Lines changed: 45 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,25 @@ jobs:
2626
platform:
2727
- runner: ubuntu-22.04
2828
target: x86_64
29-
- runner: ubuntu-22.04
30-
target: x86
29+
#- runner: ubuntu-22.04
30+
# target: x86
3131
- runner: ubuntu-22.04
3232
target: aarch64
33-
- runner: ubuntu-22.04
34-
target: armv7
35-
- runner: ubuntu-22.04
36-
target: s390x
37-
- runner: ubuntu-22.04
38-
target: ppc64le
33+
#- runner: ubuntu-22.04
34+
# target: armv7
35+
#- runner: ubuntu-22.04
36+
# target: s390x
37+
#- runner: ubuntu-22.04
38+
# target: ppc64le
3939
steps:
4040
- uses: actions/checkout@v4
4141
- uses: actions/setup-python@v5
4242
with:
4343
python-version: 3.x
44+
- name: Install dependencies
45+
run: |
46+
sudo apt update
47+
sudo apt install -y libcurl4-openssl-dev
4448
- name: Build wheels
4549
uses: PyO3/maturin-action@v1
4650
with:
@@ -55,37 +59,37 @@ jobs:
5559
name: wheels-linux-${{ matrix.platform.target }}
5660
path: ./rust/kdragrs/dist
5761

58-
musllinux:
59-
runs-on: ${{ matrix.platform.runner }}
60-
strategy:
61-
matrix:
62-
platform:
63-
- runner: ubuntu-22.04
64-
target: x86_64
65-
- runner: ubuntu-22.04
66-
target: x86
67-
- runner: ubuntu-22.04
68-
target: aarch64
69-
- runner: ubuntu-22.04
70-
target: armv7
71-
steps:
72-
- uses: actions/checkout@v4
73-
- uses: actions/setup-python@v5
74-
with:
75-
python-version: 3.x
76-
- name: Build wheels
77-
uses: PyO3/maturin-action@v1
78-
with:
79-
target: ${{ matrix.platform.target }}
80-
args: --release --out dist --find-interpreter
81-
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
82-
manylinux: musllinux_1_2
83-
working-directory: ./rust/kdragrs
84-
- name: Upload wheels
85-
uses: actions/upload-artifact@v4
86-
with:
87-
name: wheels-musllinux-${{ matrix.platform.target }}
88-
path: dist
62+
# musllinux:
63+
# runs-on: ${{ matrix.platform.runner }}
64+
# strategy:
65+
# matrix:
66+
# platform:
67+
# - runner: ubuntu-22.04
68+
# target: x86_64
69+
# #- runner: ubuntu-22.04
70+
# # target: x86
71+
# - runner: ubuntu-22.04
72+
# target: aarch64
73+
# - runner: ubuntu-22.04
74+
# target: armv7
75+
# steps:
76+
# - uses: actions/checkout@v4
77+
# - uses: actions/setup-python@v5
78+
# with:
79+
# python-version: 3.x
80+
# - name: Build wheels
81+
# uses: PyO3/maturin-action@v1
82+
# with:
83+
# target: ${{ matrix.platform.target }}
84+
# args: --release --out dist --find-interpreter
85+
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
86+
# manylinux: musllinux_1_2
87+
# working-directory: ./rust/kdragrs
88+
# - name: Upload wheels
89+
# uses: actions/upload-artifact@v4
90+
# with:
91+
# name: wheels-musllinux-${{ matrix.platform.target }}
92+
# path: dist
8993

9094
windows:
9195
runs-on: ${{ matrix.platform.runner }}
@@ -94,8 +98,8 @@ jobs:
9498
platform:
9599
- runner: windows-latest
96100
target: x64
97-
- runner: windows-latest
98-
target: x86
101+
#- runner: windows-latest
102+
# target: x86
99103
steps:
100104
- uses: actions/checkout@v4
101105
- uses: actions/setup-python@v5

0 commit comments

Comments
 (0)