2018-09-23 06:53:35 +08:00
---
cirrus-ci_task :
container :
2021-11-27 10:27:45 +08:00
image : toxchat/toktok-stack:0.0.13
2020-04-24 22:18:00 +08:00
cpu : 2
2021-11-27 10:27:45 +08:00
memory : 2G
2018-09-23 06:53:35 +08:00
configure_script :
2021-11-26 02:13:33 +08:00
- /src/workspace/tools/inject-repo c-toxcore
2021-08-21 19:00:04 +08:00
# Work around "FATAL: corrupt installation: file '/home/builder/.cache/bazel/_bazel_builder/install/f439a981a1e06f45be981c123f9858d5/A-server.jar' is missing or modified"
# Clearing the cache through the Cirrus web UI doesn't fix, but this does.
- rm -rf /home/builder/.cache/bazel/
2018-09-23 06:53:35 +08:00
test_all_script :
2020-04-24 22:18:00 +08:00
- bazel test -k
2021-11-26 02:13:33 +08:00
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
--build_tag_filters=-haskell
--test_tag_filters=-haskell
--remote_download_minimal
--config=release
--
//c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden) : Why does this pass locally but not in Cirrus?
2021-11-27 10:27:45 +08:00
cimple_task :
container :
image : toxchat/toktok-stack:0.0.13
cpu : 2
memory : 4G
configure_script :
- /src/workspace/tools/inject-repo c-toxcore
test_all_script :
- bazel test -k
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
--build_tag_filters=haskell
--test_tag_filters=haskell
--
//c-toxcore/...