This commit is contained in:
Angelos Katharopoulos
2026-01-08 14:10:22 -08:00
parent 281afc8ac3
commit 07de3da0b9
2 changed files with 16 additions and 6 deletions
+1 -3
View File
@@ -4,14 +4,12 @@ description: 'Build and test MLX on macOS'
runs:
using: "composite"
steps:
- name: Install dependencies
- name: Build
env:
DEBUG: 1
CMAKE_ARGS: "-DCMAKE_COMPILE_WARNING_AS_ERROR=ON"
shell: bash -l {0}
run: |
pip install --upgrade pip
pip install cmake setuptools typing_extensions
pip install -e . -v
- name: Install tests dependencies
+15 -3
View File
@@ -18,6 +18,18 @@ runs:
shell: bash
run: xcodebuild -showComponent MetalToolchain
- uses: actions/setup-python@v6
with:
python-version: ${{ inputs.python-version }}
- name: Install Python
shell: sh
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
$HOME/.local/bin/uv venv --python ${{ inputs.python-version }}
source .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
# Search python packages in .venv
echo PYTHONPATH=`python -c 'import sys; print(sys.path[-1])'` >> $GITHUB_ENV
- name: Install build dependencies
shell: sh
run: |
pip install --upgrade pip
pip install cmake setuptools typing_extensions