13
13
MLC_CIBW_WIN_BUILD : " cp3*-win_amd64"
14
14
MLC_CIBW_MAC_BUILD : " cp3*-macosx_arm64"
15
15
MLC_CIBW_MAC_X86_BUILD : " cp3*-macosx_x86_64"
16
- MLC_CIBW_LINUX_BUILD : " cp3*-manylinux_x86_64"
16
+ MLC_CIBW_LINUX_X86_BUILD : " cp3*-manylinux_x86_64"
17
+ MLC_CIBW_LINUX_ARM_BUILD : " cp3*-manylinux_aarch64"
17
18
18
19
jobs :
19
20
windows :
@@ -100,13 +101,36 @@ jobs:
100
101
- name : Build wheels
101
102
run : python -m cibuildwheel --output-dir wheelhouse
102
103
env :
103
- CIBW_BUILD : ${{ env.MLC_CIBW_LINUX_BUILD }}
104
+ CIBW_BUILD : ${{ env.MLC_CIBW_LINUX_X86_BUILD }}
104
105
- name : Show package contents
105
106
run : python scripts/show_wheel_content.py wheelhouse
106
107
- name : Upload wheels
107
108
uses : actions/upload-artifact@v4
108
109
with :
109
- name : wheels-linux
110
+ name : wheels-linux-x86
111
+ path : ./wheelhouse/*.whl
112
+ linux-arm :
113
+ name : Linux
114
+ runs-on : ubuntu-24.04-arm
115
+ steps :
116
+ - uses : actions/checkout@v4
117
+ with :
118
+ submodules : " recursive"
119
+ - uses : actions/setup-python@v5
120
+ with :
121
+ python-version : ${{ env.MLC_PYTHON_VERSION }}
122
+ - name : Install cibuildwheel
123
+ run : python -m pip install cibuildwheel==${{ env.MLC_CIBW_VERSION }}
124
+ - name : Build wheels
125
+ run : python -m cibuildwheel --output-dir wheelhouse
126
+ env :
127
+ CIBW_BUILD : ${{ env.MLC_CIBW_LINUX_ARM_BUILD }}
128
+ - name : Show package contents
129
+ run : python scripts/show_wheel_content.py wheelhouse
130
+ - name : Upload wheels
131
+ uses : actions/upload-artifact@v4
132
+ with :
133
+ name : wheels-linux-aarch64
110
134
path : ./wheelhouse/*.whl
111
135
publish :
112
136
name : Publish
@@ -133,7 +157,8 @@ jobs:
133
157
mkdir -p dist
134
158
mv wheelhouse/wheels-macos-x86/*.whl dist/
135
159
mv wheelhouse/wheels-macos/*.whl dist/
136
- mv wheelhouse/wheels-linux/*.whl dist/
160
+ mv wheelhouse/wheels-linux-x86/*.whl dist/
161
+ mv wheelhouse/wheels-linux-aarch64/*.whl dist/
137
162
mv wheelhouse/wheels-windows/*.whl dist/
138
163
- name : Upload wheels to release
139
164
env :
0 commit comments