mirror of
https://github.com/ml-explore/mlx.git
synced 2025-12-16 01:49:05 +08:00
Save uv cache
This commit is contained in:
@@ -69,6 +69,9 @@ jobs:
|
|||||||
resource_class: large
|
resource_class: large
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- restore_cache:
|
||||||
|
keys:
|
||||||
|
- cpu-{{ arch }}-
|
||||||
- run:
|
- run:
|
||||||
name: Run style checks
|
name: Run style checks
|
||||||
command: |
|
command: |
|
||||||
@@ -112,6 +115,10 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Run CPP tests
|
name: Run CPP tests
|
||||||
command: ./build/tests/tests
|
command: ./build/tests/tests
|
||||||
|
- save_cache:
|
||||||
|
key: cpu-{{ arch }}-{{ epoch }}
|
||||||
|
paths:
|
||||||
|
- /home/circleci/.cache/uv
|
||||||
|
|
||||||
mac_build_and_test:
|
mac_build_and_test:
|
||||||
parameters:
|
parameters:
|
||||||
@@ -249,6 +256,7 @@ jobs:
|
|||||||
key: cuda-<< parameters.image_date >>-{{ arch }}-{{ epoch }}
|
key: cuda-<< parameters.image_date >>-{{ arch }}-{{ epoch }}
|
||||||
paths:
|
paths:
|
||||||
- /home/circleci/.cache/ccache
|
- /home/circleci/.cache/ccache
|
||||||
|
- /home/circleci/.cache/uv
|
||||||
|
|
||||||
build_release:
|
build_release:
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
Reference in New Issue
Block a user