Skip to content

Commit 46a443f

Browse files
committed
chore: Ignore failures from bazel-tsan and bazel-asan.
Also increased memory limits so it doesn't OOM.
1 parent 685b78d commit 46a443f

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

.cirrus.yml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bazel-asan_task:
3737
container:
3838
image: toxchat/toktok-stack:0.0.31-asan
3939
cpu: 2
40-
memory: 2G
40+
memory: 4G
4141
configure_script:
4242
- /src/workspace/tools/inject-repo c-toxcore
4343
test_all_script:
@@ -50,11 +50,30 @@ bazel-asan_task:
5050
//c-toxcore/...
5151
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
5252

53+
# TODO(iphydf): Get msan to work properly.
54+
#bazel-msan_task:
55+
# container:
56+
# image: toxchat/toktok-stack:0.0.31-msan
57+
# cpu: 2
58+
# memory: 4G
59+
# configure_script:
60+
# - /src/workspace/tools/inject-repo c-toxcore
61+
# test_all_script:
62+
# - cd /src/workspace && bazel test -k
63+
# --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
64+
# --build_tag_filters=-haskell
65+
# --test_tag_filters=-haskell
66+
# --remote_download_minimal
67+
# --
68+
# //c-toxcore/...
69+
# -//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
70+
71+
# TODO(iphydf): Fix test timeouts.
5372
bazel-tsan_task:
5473
container:
5574
image: toxchat/toktok-stack:0.0.31-tsan
5675
cpu: 2
57-
memory: 2G
76+
memory: 4G
5877
configure_script:
5978
- /src/workspace/tools/inject-repo c-toxcore
6079
test_all_script:
@@ -65,7 +84,13 @@ bazel-tsan_task:
6584
--remote_download_minimal
6685
--
6786
//c-toxcore/...
68-
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
87+
-//c-toxcore/auto_tests:conference_av_test
88+
-//c-toxcore/auto_tests:conference_test
89+
-//c-toxcore/auto_tests:dht_test
90+
-//c-toxcore/auto_tests:file_transfer_test
91+
-//c-toxcore/auto_tests:onion_test
92+
-//c-toxcore/auto_tests:tcp_relay_test
93+
-//c-toxcore/auto_tests:tox_many_test
6994

7095
cimple_task:
7196
container:

.github/settings.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ branches:
1212
protection:
1313
required_status_checks:
1414
contexts:
15+
# TODO(iphydf): Make asan required once errors are fixed.
16+
#- "bazel-asan"
1517
- "bazel-debug"
1618
- "bazel-release"
19+
- "bazel-tsan"
1720
- "build-bootstrapd-docker"
1821
- "build-compcert"
1922
- "build-macos"
@@ -22,6 +25,8 @@ branches:
2225
- "build-win32"
2326
- "build-win64"
2427
- "CodeFactor"
28+
- "codecov/project"
29+
- "coverage-linux"
2530
- "ci/circleci: asan"
2631
- "ci/circleci: clang-tidy"
2732
- "ci/circleci: infer"

0 commit comments

Comments
 (0)