chore: Add bazel-debug build.

This has in the already found real bugs that only happen when compiling
with stack protector and no optimisations.
This commit is contained in:
iphydf 2022-01-02 02:48:54 +00:00
parent 7318127dca
commit 277f512dbb
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
2 changed files with 19 additions and 0 deletions

View File

@ -17,6 +17,24 @@ bazel-release_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?
bazel-debug_task:
container:
image: toxchat/toktok-stack:0.0.31-debug
cpu: 2
memory: 2G
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
--config=debug
--
//c-toxcore/...
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
cimple_task: cimple_task:
container: container:
image: toxchat/toktok-stack:0.0.31-release image: toxchat/toktok-stack:0.0.31-release

View File

@ -12,6 +12,7 @@ branches:
protection: protection:
required_status_checks: required_status_checks:
contexts: contexts:
- "bazel-debug"
- "bazel-release" - "bazel-release"
- "build-bootstrapd-docker" - "build-bootstrapd-docker"
- "build-compcert" - "build-compcert"