1313 MLC_CIBW_WIN_BUILD : " cp3*-win_amd64"
1414 MLC_CIBW_MAC_BUILD : " cp3*-macosx_arm64"
1515 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"
1718
1819jobs :
1920 windows :
@@ -100,13 +101,36 @@ jobs:
100101 - name : Build wheels
101102 run : python -m cibuildwheel --output-dir wheelhouse
102103 env :
103- CIBW_BUILD : ${{ env.MLC_CIBW_LINUX_BUILD }}
104+ CIBW_BUILD : ${{ env.MLC_CIBW_LINUX_X86_BUILD }}
104105 - name : Show package contents
105106 run : python scripts/show_wheel_content.py wheelhouse
106107 - name : Upload wheels
107108 uses : actions/upload-artifact@v4
108109 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
110134 path : ./wheelhouse/*.whl
111135 publish :
112136 name : Publish
@@ -133,7 +157,8 @@ jobs:
133157 mkdir -p dist
134158 mv wheelhouse/wheels-macos-x86/*.whl dist/
135159 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/
137162 mv wheelhouse/wheels-windows/*.whl dist/
138163 - name : Upload wheels to release
139164 env :
0 commit comments