Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid Ruby installation on every CI build
- Loading branch information
Showing
2 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
# Use predefined path for building so we could cache `external/`. | ||
startup --output_base=/tmp/bazel | ||
|
||
# Set up caching on local disk so incremental builds are faster | ||
# See https://bazel.build/designs/2016/09/30/repository-cache.html | ||
build --repository_cache=~/.cache/bazel-repo | ||
test --repository_cache=~/.cache/bazel-repo | ||
# See https://docs.bazel.build/versions/master/remote-caching.html#disk-cache | ||
build --disk_cache=~/.cache/bazel-disk | ||
test --disk_cache=~/.cache/bazel-disk" | ||
test --disk_cache=~/.cache/bazel-disk | ||
|
||
# Make output easier to read | ||
build --curses=no | ||
build --color=no | ||
build --show_timestamps | ||
build --show_timestamps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters