mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-08 04:08:54 +08:00
Some checks failed
Build and Test / check_lint (push) Has been cancelled
Build and Test / linux_build_and_test (ubuntu-22.04) (push) Has been cancelled
Build and Test / linux_build_and_test (ubuntu-22.04-arm) (push) Has been cancelled
Build and Test / mac_build_and_test (14.0) (push) Has been cancelled
Build and Test / mac_build_and_test (15.0) (push) Has been cancelled
Build and Test / cuda_build_and_test (cuda-12.6) (push) Has been cancelled
Build and Test / cuda_build_and_test (cuda-12.9) (push) Has been cancelled
Build and Test / build_documentation (push) Has been cancelled
Build and Test / Linux Fedora CPP Build (aarch64) (push) Has been cancelled
Build and Test / Linux Fedora CPP Build (x86_64) (push) Has been cancelled
Nightly Build / build_linux_release (3.10) (push) Has been cancelled
Nightly Build / build_linux_release (3.14) (push) Has been cancelled
Nightly Build / build_linux_with_tests (3.11, ubuntu-22.04) (push) Has been cancelled
Nightly Build / build_linux_with_tests (3.11, ubuntu-22.04-arm) (push) Has been cancelled
Nightly Build / build_linux_with_tests (3.12, ubuntu-22.04) (push) Has been cancelled
Nightly Build / build_linux_with_tests (3.12, ubuntu-22.04-arm) (push) Has been cancelled
Nightly Build / build_linux_with_tests (3.13, ubuntu-22.04) (push) Has been cancelled
Nightly Build / build_linux_with_tests (3.13, ubuntu-22.04-arm) (push) Has been cancelled
Nightly Build / build_linux_with_tests (3.14, ubuntu-22.04) (push) Has been cancelled
Nightly Build / build_linux_with_tests (3.14, ubuntu-22.04-arm) (push) Has been cancelled
Nightly Build / build_mac_release (3.10) (push) Has been cancelled
Nightly Build / build_mac_release (3.13) (push) Has been cancelled
Nightly Build / build_cuda_release (push) Has been cancelled
35 lines
851 B
YAML
35 lines
851 B
YAML
name: 'Build macOS release'
|
|
description: 'Build MLX releases macOS'
|
|
|
|
inputs:
|
|
macos-target:
|
|
description: 'macOS build target'
|
|
required: false
|
|
default: '15.0'
|
|
build-backend:
|
|
description: 'Build the backend mlx-metal package'
|
|
type: boolean
|
|
required: false
|
|
default: false
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Build Python package
|
|
shell: bash -l {0}
|
|
env:
|
|
MACOSX_DEPLOYMENT_TARGET: ${{ inputs.macos-target }}
|
|
run: |
|
|
pip install build
|
|
python setup.py clean --all
|
|
MLX_BUILD_STAGE=1 python -m build -w
|
|
|
|
- name: Build backend package
|
|
if: ${{ inputs.build-backend }}
|
|
shell: bash -l {0}
|
|
env:
|
|
MACOSX_DEPLOYMENT_TARGET: ${{ inputs.macos-target }}
|
|
run: |
|
|
python setup.py clean --all
|
|
MLX_BUILD_STAGE=2 python -m build -w
|