Skip to content

Commit

Permalink
chore: Remove msan from all CIs except circleci.
Browse files Browse the repository at this point in the history
It doesn't work yet and is wasting CI resources.
  • Loading branch information
iphydf committed Feb 18, 2022
1 parent c5e3bca commit d460910
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 31 deletions.
34 changes: 17 additions & 17 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,23 @@ bazel-asan_task:
//c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?

# TODO(iphydf): Remove "|| true" once this works properly.
bazel-msan_task:
container:
image: toxchat/toktok-stack:latest-msan
cpu: 2
memory: 4G
configure_script:
- /src/workspace/tools/inject-repo c-toxcore
test_all_script:
- cd /src/workspace && bazel test -k
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
--build_tag_filters=-haskell
--test_tag_filters=-haskell
--remote_download_minimal
--
//c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test || true # TODO(robinlinden): Why does this pass locally but not in Cirrus?
# TODO(iphydf): Enable once this works properly.
#bazel-msan_task:
# container:
# image: toxchat/toktok-stack:latest-msan
# cpu: 2
# memory: 4G
# configure_script:
# - /src/workspace/tools/inject-repo c-toxcore
# test_all_script:
# - cd /src/workspace && bazel test -k
# --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
# --build_tag_filters=-haskell
# --test_tag_filters=-haskell
# --remote_download_minimal
# --
# //c-toxcore/...
# -//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?

# TODO(iphydf): Fix test timeouts.
bazel-tsan_task:
Expand Down
3 changes: 0 additions & 3 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ branches:
contexts:
- "bazel-asan"
- "bazel-dbg"
- "bazel-msan"
- "bazel-opt"
- "bazel-tsan"
- "bazel-valgrind"
- "build-compcert"
- "build-macos"
- "build-msan"
- "build-nacl"
- "build-tcc"
- "build-win32"
Expand All @@ -44,7 +42,6 @@ branches:
- "docker-bootstrap-node-websocket"
- "docker-toxcore-js"
- "mypy"
- "netlify/c-toxcore/deploy-preview"
- "sonar-scan"

# Labels specific to c-toxcore.
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,6 @@ jobs:
with:
file: other/docker/tokstyle/Dockerfile

build-msan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pull toxchat/toktok-stack:latest-msan
run: docker pull toxchat/toktok-stack:latest-msan
- name: Run tests under MemorySanitizer
# TODO(iphydf): Remove "|| true" once this works correctly.
run: docker run --rm -v $PWD:/src/workspace/c-toxcore toxchat/toktok-stack:latest-msan
bazel test //c-toxcore/auto_tests:lossless_packet_test || true

build-nacl:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d460910

Please sign in to comment.