Skip to content

Commit

Permalink
Use Cirrus remote cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
regisd committed Dec 5, 2019
1 parent 37a1d02 commit 85e4537
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
task:
name: Build on linux
build_sample_script: bazel build //sample/...
build_all_script: bazel build //...
bazel_info_script: bazel info --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST release
build_sample_script: bazel build --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST //sample/...
build_all_script: bazel build --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST //...
container:
image: l.gcr.io/google/bazel:1.2.1
task:
name: Build on Windows
install_bazel_script: choco install -y bazel
build_sample_script: bazel build //sample/...
build_all_script: bazel build //...
bazel_info_script: bazel info --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST release
build_sample_script: bazel build --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST //sample/...
build_all_script: bazel build --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST //...
windows_container:
image: cirrusci/windowsservercore:2019
os_version: 2019

0 comments on commit 85e4537

Please sign in to comment.