Skip to content

chore: Release AArch64 Wheels #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 29 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ env:
MLC_CIBW_WIN_BUILD: "cp3*-win_amd64"
MLC_CIBW_MAC_BUILD: "cp3*-macosx_arm64"
MLC_CIBW_MAC_X86_BUILD: "cp3*-macosx_x86_64"
MLC_CIBW_LINUX_BUILD: "cp3*-manylinux_x86_64"
MLC_CIBW_LINUX_X86_BUILD: "cp3*-manylinux_x86_64"
MLC_CIBW_LINUX_ARM_BUILD: "cp3*-manylinux_aarch64"

jobs:
windows:
Expand Down Expand Up @@ -100,13 +101,36 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: ${{ env.MLC_CIBW_LINUX_BUILD }}
CIBW_BUILD: ${{ env.MLC_CIBW_LINUX_X86_BUILD }}
- name: Show package contents
run: python scripts/show_wheel_content.py wheelhouse
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-linux
name: wheels-linux-x86
path: ./wheelhouse/*.whl
linux-arm:
name: Linux
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: actions/setup-python@v5
with:
python-version: ${{ env.MLC_PYTHON_VERSION }}
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==${{ env.MLC_CIBW_VERSION }}
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: ${{ env.MLC_CIBW_LINUX_ARM_BUILD }}
- name: Show package contents
run: python scripts/show_wheel_content.py wheelhouse
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-linux-aarch64
path: ./wheelhouse/*.whl
publish:
name: Publish
Expand All @@ -133,7 +157,8 @@ jobs:
mkdir -p dist
mv wheelhouse/wheels-macos-x86/*.whl dist/
mv wheelhouse/wheels-macos/*.whl dist/
mv wheelhouse/wheels-linux/*.whl dist/
mv wheelhouse/wheels-linux-x86/*.whl dist/
mv wheelhouse/wheels-linux-aarch64/*.whl dist/
mv wheelhouse/wheels-windows/*.whl dist/
- name: Upload wheels to release
env:
Expand Down
Loading