mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-15 01:19:21 +08:00
Readable names for jobs
This commit is contained in:
4
.github/actions/setup-linux/action.yml
vendored
4
.github/actions/setup-linux/action.yml
vendored
@@ -58,7 +58,9 @@ runs:
|
|||||||
"cuda-13.0": "libcudnn9-dev-cuda-13 cuda-toolkit-13-0"
|
"cuda-13.0": "libcudnn9-dev-cuda-13 cuda-toolkit-13-0"
|
||||||
}
|
}
|
||||||
run: |
|
run: |
|
||||||
export ARCH=${{ runner.arch == 'arm64' && 'sbsa' || 'x86_64' }}
|
# The CUDA binaries are hosted in the "sbsa" repo, the "arm64" repo is
|
||||||
|
# Jetson specific. SBSA means Arm Server Base System Architecture.
|
||||||
|
ARCH=${{ runner.arch == 'arm64' && 'sbsa' || 'x86_64' }}
|
||||||
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/$ARCH/cuda-keyring_1.1-1_all.deb
|
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/$ARCH/cuda-keyring_1.1-1_all.deb
|
||||||
sudo dpkg -i cuda-keyring_1.1-1_all.deb
|
sudo dpkg -i cuda-keyring_1.1-1_all.deb
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
|
name: Lint and Prepare
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.generator.outputs.matrix }}
|
matrix: ${{ steps.generator.outputs.matrix }}
|
||||||
@@ -55,6 +56,7 @@ jobs:
|
|||||||
core.setOutput('runner', JSON.stringify(runner))
|
core.setOutput('runner', JSON.stringify(runner))
|
||||||
|
|
||||||
linux_build_and_test:
|
linux_build_and_test:
|
||||||
|
name: Linux (${{ matrix.toolkit }}, ${{ matrix.arch }})
|
||||||
needs: prepare
|
needs: prepare
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -74,6 +76,7 @@ jobs:
|
|||||||
cpu-only: ${{ matrix.toolkit == 'cpu' }}
|
cpu-only: ${{ matrix.toolkit == 'cpu' }}
|
||||||
|
|
||||||
mac_build_and_test:
|
mac_build_and_test:
|
||||||
|
name: macOS (${{ matrix.macos-target }})
|
||||||
if: github.repository == 'ml-explore/mlx'
|
if: github.repository == 'ml-explore/mlx'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -88,6 +91,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/build-macos
|
- uses: ./.github/actions/build-macos
|
||||||
|
|
||||||
build_documentation:
|
build_documentation:
|
||||||
|
name: Build Documentation
|
||||||
if: github.repository == 'ml-explore/mlx'
|
if: github.repository == 'ml-explore/mlx'
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: prepare
|
needs: prepare
|
||||||
@@ -96,7 +100,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/build-docs
|
- uses: ./.github/actions/build-docs
|
||||||
|
|
||||||
linux_fedora_build_cpp:
|
linux_fedora_build_cpp:
|
||||||
name: Linux Fedora CPP Build (${{ matrix.arch }})
|
name: Linux Fedora (${{ matrix.arch }})
|
||||||
needs: prepare
|
needs: prepare
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
Reference in New Issue
Block a user