chore: Remove msan from all CIs except circleci.

It doesn't work yet and is wasting CI resources.
This commit is contained in:
iphydf 2022-02-18 21:44:28 +00:00
parent c5e3bca6de
commit d46091072d
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
3 changed files with 17 additions and 31 deletions

View File

@ -50,23 +50,23 @@ bazel-asan_task:
//c-toxcore/... //c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus? -//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. # TODO(iphydf): Enable once this works properly.
bazel-msan_task: #bazel-msan_task:
container: # container:
image: toxchat/toktok-stack:latest-msan # image: toxchat/toktok-stack:latest-msan
cpu: 2 # cpu: 2
memory: 4G # memory: 4G
configure_script: # configure_script:
- /src/workspace/tools/inject-repo c-toxcore # - /src/workspace/tools/inject-repo c-toxcore
test_all_script: # test_all_script:
- cd /src/workspace && bazel test -k # - cd /src/workspace && bazel test -k
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST # --remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
--build_tag_filters=-haskell # --build_tag_filters=-haskell
--test_tag_filters=-haskell # --test_tag_filters=-haskell
--remote_download_minimal # --remote_download_minimal
-- # --
//c-toxcore/... # //c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test || true # TODO(robinlinden): Why does this pass locally but not in Cirrus? # -//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
# TODO(iphydf): Fix test timeouts. # TODO(iphydf): Fix test timeouts.
bazel-tsan_task: bazel-tsan_task:

View File

@ -14,13 +14,11 @@ branches:
contexts: contexts:
- "bazel-asan" - "bazel-asan"
- "bazel-dbg" - "bazel-dbg"
- "bazel-msan"
- "bazel-opt" - "bazel-opt"
- "bazel-tsan" - "bazel-tsan"
- "bazel-valgrind" - "bazel-valgrind"
- "build-compcert" - "build-compcert"
- "build-macos" - "build-macos"
- "build-msan"
- "build-nacl" - "build-nacl"
- "build-tcc" - "build-tcc"
- "build-win32" - "build-win32"
@ -44,7 +42,6 @@ branches:
- "docker-bootstrap-node-websocket" - "docker-bootstrap-node-websocket"
- "docker-toxcore-js" - "docker-toxcore-js"
- "mypy" - "mypy"
- "netlify/c-toxcore/deploy-preview"
- "sonar-scan" - "sonar-scan"
# Labels specific to c-toxcore. # Labels specific to c-toxcore.

View File

@ -33,17 +33,6 @@ jobs:
with: with:
file: other/docker/tokstyle/Dockerfile 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: build-nacl:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: