Skip to content

Commit 7d2811d

Browse files
committed
chore(ci): make bazel server shutdown faster
1 parent 1dc399b commit 7d2811d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.cirrus.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ bazel-opt_task:
99
- git submodule update --init --recursive
1010
- /src/workspace/tools/inject-repo c-toxcore
1111
test_all_script:
12-
- cd /src/workspace && bazel test -k
12+
- cd /src/workspace && bazel
13+
--max_idle_secs=5
14+
test -k
1315
--remote_cache=http://$CIRRUS_HTTP_CACHE_HOST
1416
--build_tag_filters=-haskell
1517
--test_tag_filters=-haskell
@@ -27,7 +29,9 @@ bazel-dbg_task:
2729
- git submodule update --init --recursive
2830
- /src/workspace/tools/inject-repo c-toxcore
2931
test_all_script:
30-
- cd /src/workspace && bazel test -k
32+
- cd /src/workspace && bazel
33+
--max_idle_secs=5
34+
test -k
3135
--remote_cache=http://$CIRRUS_HTTP_CACHE_HOST
3236
--build_tag_filters=-haskell
3337
--test_tag_filters=-haskell
@@ -45,7 +49,9 @@ cimple_task:
4549
- git submodule update --init --recursive
4650
- /src/workspace/tools/inject-repo c-toxcore
4751
test_all_script:
48-
- cd /src/workspace && bazel test -k
52+
- cd /src/workspace && bazel
53+
--max_idle_secs=5
54+
test -k
4955
--remote_cache=http://$CIRRUS_HTTP_CACHE_HOST
5056
--build_tag_filters=haskell
5157
--test_tag_filters=haskell

0 commit comments

Comments
 (0)