Skip to content

Commit 0544ad7

Browse files
cosmo0920edsiper
authored andcommitted
github: workflows: Use larger coro stack for address and undefined sanitizers
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent 3a3d7ba commit 0544ad7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/unit-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ jobs:
127127
128128
- name: ${{ matrix.compiler.cc }} & ${{ matrix.compiler.cxx }} - ${{ matrix.flb_option }}
129129
run: |
130-
if [[ "$FLB_OPT" =~ COVERAGE ]]; then
131-
# Coverage build requires larger coroutine stack.
130+
if [[ "$FLB_OPT" =~ COVERAGE ||
131+
"$FLB_OPT" =~ SANITIZE_ADDRESS ||
132+
"$FLB_OPT" =~ SANITIZE_UNDEFINED ]]; then
133+
# Coverage and sanitizer builds require larger coroutine stack.
132134
export FLB_OPT="${FLB_OPT} -DFLB_CORO_STACK_SIZE=4194304"
133135
fi
134136
echo "CC = $CC, CXX = $CXX, FLB_OPT = $FLB_OPT"

0 commit comments

Comments
 (0)