mirror of
https://github.com/wassname/ray.git
synced 2026-08-04 13:14:14 +08:00
Use bazel disk cache with travis (#5068)
This commit is contained in:
@@ -141,6 +141,7 @@ install:
|
||||
- if [ $RAY_CI_TUNE_AFFECTED != "1" ] && [ $RAY_CI_RLLIB_AFFECTED != "1" ] && [ $RAY_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
|
||||
|
||||
- ./ci/suppress_output ./ci/travis/install-bazel.sh
|
||||
- ./ci/suppress_output ./ci/travis/setup-bazel-cache.sh
|
||||
- ./ci/suppress_output ./ci/travis/install-dependencies.sh
|
||||
- export PATH="$HOME/miniconda/bin:$PATH"
|
||||
- ./ci/suppress_output ./ci/travis/install-ray.sh
|
||||
@@ -214,3 +215,7 @@ deploy:
|
||||
on:
|
||||
repo: ray-project/ray
|
||||
condition: $LINUX_WHEELS = 1 || $MAC_WHEELS = 1
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/ray-bazel-cache
|
||||
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
set -x
|
||||
set -e
|
||||
|
||||
mkdir -p $HOME/ray-bazel-cache
|
||||
echo "build --disk_cache=$HOME/ray-bazel-cache" >> .bazelrc
|
||||
Reference in New Issue
Block a user