Skip to content

release v0.0.1

release v0.0.1 #33

Workflow file for this run

name: Rust CI MacOS
on:
pull_request:
types:
- opened
- synchronize
env:
CARGO_TERM_COLOR: always
jobs:
test:
# MLX only builds on Apple Silicon; macos-14+ runners are arm64.
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
# Cache the CMake build of mlx-c + MLX, which is the slow part of the build.
- name: Cache cargo & build artifacts
uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Test
run: make test