Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a disk cache on windows #1874

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .bazelrc.common
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ build:ci-common --experimental_repository_cache_hardlinks

# Use a remote cache during CI
build:ci-windows-bindist --bes_upload_mode=wait_for_upload_complete --bes_timeout=60s
build:ci-windows-bindist --disk_cache=.bazel-cache/disk
build:remote-cache --remote_cache=grpcs://remote.buildbuddy.io
build:ci-common --remote_timeout=3600
# Avoid failures of the form `deadline exceeded after 14999958197ns DEADLINE_EXCEEDED`.
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ jobs:
sudo apt clean
docker rmi $(docker images -q) -f
- uses: actions/checkout@v3
- name: Add disk cache
uses: actions/cache@v3
with:
path: .bazel-cache/disk
key: disk-cache-${{ runner.os }}-${{ hashFiles('stackage_snapshot.yaml') }}
- name: Mount Bazel cache
uses: actions/cache@v3
with:
Expand Down