Skip to content

Commit 5303aaa

Browse files
kevinoconnor7copybara-github
authored andcommitted
Run Github workflows with -c opt
This should shrink the action artifacts by quite a bit, hopefully buying us some headroom with the default Github runners, which are currently running out of disk space. This will make compile times a bit longer (%5 on my M1 Pro), but this might be recovered by the smaller cache sizes. Currently transferring the action artifact cache takes about 1-1.5 minutes to download and about the same amount to upload. PiperOrigin-RevId: 646539493
1 parent 5bb1ffd commit 5303aaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
run: |
7373
echo "build --repository_cache=~/bazel-repository-cache" >> ~/.bazelrc
7474
echo "build --disk_cache=~/bazel-action-cache" >> ~/.bazelrc
75+
echo "build -c opt" >> ~/.bazelrc
7576
echo "build --verbose_failures" >> ~/.bazelrc
7677
bazel info
7778
- name: Run tests

0 commit comments

Comments
 (0)