Use ccache in GitHub Actions (#2773)

* Remove unnecessary steps

* Use ccache

* Log when using ccache

* Set max-size to 1GB

* Pass --no-build-isolation

* Remove more unused things
This commit is contained in:
Cheng
2025-11-16 07:58:14 +09:00
committed by GitHub
parent 1bedcbd556
commit 86765cce34
4 changed files with 14 additions and 16 deletions

View File

@@ -15,7 +15,7 @@ runs:
env:
DEBUG: 1
CMAKE_ARGS: -DMLX_BUILD_CUDA=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON -DCMAKE_CUDA_COMPILER=${{ inputs.nvcc-location }}
run: pip install -e ".[dev]" -v
run: pip install --no-build-isolation -e ".[dev]" -v
- name: Build CPP only
shell: bash