diff --git a/.github/labeler.yml b/.github/labeler.yml index ad3b7f2a9..21a07d908 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -122,3 +122,13 @@ mthreads: - any-glob-to-any-file: - '**/*mthreads*' - '**/*musa*' + - '**/musa/**' + +# Apple Silicon specific +apple-silicon: + - changed-files: + - any-glob-to-any-file: + - '**/*metal*' + - '**/*mlx*' + - '**/mlx/**' + - '**/*mps*' diff --git a/.github/workflows/pr-test-mlx.yml b/.github/workflows/pr-test-mlx.yml index 607c0f605..830a57ab3 100644 --- a/.github/workflows/pr-test-mlx.yml +++ b/.github/workflows/pr-test-mlx.yml @@ -14,13 +14,13 @@ permissions: jobs: mlx-unit-test: - # Label-gated on 'mlx', reusing the repo's run-ci label-gate mechanism + # Label-gated on 'apple-silicon', reusing the repo's run-ci label-gate mechanism # (pr-test-rust.yml). The gate keys on the PR's current label set, so any # event on a labeled PR re-runs the tests and a later unrelated label can't # mask a prior result. The non-pull_request clause covers push / dispatch. if: | github.event_name != 'pull_request' || - contains(github.event.pull_request.labels.*.name, 'mlx') + contains(github.event.pull_request.labels.*.name, 'apple-silicon') runs-on: macos-26 timeout-minutes: 60 env: