Skip to content

Commit 277f512

Browse files
committed
chore: Add bazel-debug build.
This has in the already found real bugs that only happen when compiling with stack protector and no optimisations.
1 parent 7318127 commit 277f512

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.cirrus.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,24 @@ bazel-release_task:
1717
//c-toxcore/...
1818
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
1919

20+
bazel-debug_task:
21+
container:
22+
image: toxchat/toktok-stack:0.0.31-debug
23+
cpu: 2
24+
memory: 2G
25+
configure_script:
26+
- /src/workspace/tools/inject-repo c-toxcore
27+
test_all_script:
28+
- cd /src/workspace && bazel test -k
29+
--remote_http_cache=http://$CIRRUS_HTTP_CACHE_HOST
30+
--build_tag_filters=-haskell
31+
--test_tag_filters=-haskell
32+
--remote_download_minimal
33+
--config=debug
34+
--
35+
//c-toxcore/...
36+
-//c-toxcore/auto_tests:tcp_relay_test # TODO(robinlinden): Why does this pass locally but not in Cirrus?
37+
2038
cimple_task:
2139
container:
2240
image: toxchat/toktok-stack:0.0.31-release

.github/settings.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ branches:
1212
protection:
1313
required_status_checks:
1414
contexts:
15+
- "bazel-debug"
1516
- "bazel-release"
1617
- "build-bootstrapd-docker"
1718
- "build-compcert"

0 commit comments

Comments
 (0)