This repository was archived by the owner on Feb 4, 2025. It is now read-only.
File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,17 @@ jobs:
120
120
matrix :
121
121
include :
122
122
- target : x86_64
123
+ platform : manylinux2014
123
124
- target : aarch64
125
+ platform : manylinux2014
124
126
cross : true
127
+ - target : x86_64
128
+ platform : musllinux_1_1
129
+ - target : aarch64
130
+ platform : musllinux_1_1
131
+ cross : true
132
+ env :
133
+ CONTAINER : quay.io/pypa/${{ matrix.platform }}_${{ matrix.target }}:latest
125
134
steps :
126
135
- uses : actions/checkout@v3
127
136
- uses : actions/setup-python@v4
@@ -136,9 +145,9 @@ jobs:
136
145
uses : PyO3/maturin-action@v1
137
146
with :
138
147
target : ${{ matrix.target }}
139
- container : quay.io/pypa/manylinux2014_ ${{ matrix.target }}:latest
148
+ container : ${{ env.CONTAINER }}
140
149
args : --release --out dist
141
- sccache : " true "
150
+ sccache : ${{ matrix.target == 'musllinux_1_1' }}
142
151
manylinux : auto
143
152
docker-options : -e CARGO_NET_GIT_FETCH_WITH_CLI=true
144
153
- name : Upload wheels
@@ -148,7 +157,7 @@ jobs:
148
157
path : dist
149
158
- name : Test wheels
150
159
run : |
151
- cat << EOF | docker run -v $PWD:/usr/src -i ${{ matrix.container }} sh -ex -
160
+ cat << EOF | docker run -v $PWD:/usr/src -i $CONTAINER sh -ex -
152
161
cd /usr/src
153
162
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3.10 -
154
163
export PATH=/root/.local/bin:$PATH
You can’t perform that action at this time.
0 commit comments