Skip to content

Commit 40400de

Browse files
committed
workflows: fix tests with coverage build
Signed-off-by: Marat Abrarov <abrarov@gmail.com>
1 parent e14698d commit 40400de

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/unit-tests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +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.
132+
export FLB_OPT="${FLB_OPT} -DFLB_CORO_STACK_SIZE=4194304"
133+
fi
130134
echo "CC = $CC, CXX = $CXX, FLB_OPT = $FLB_OPT"
131135
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90
132136
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90

0 commit comments

Comments
 (0)