File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ jobs:
2222 echo '/tmp/core/core.%h.%e.%t' > /proc/sys/kernel/core_pattern
2323 - uses : actions/checkout@v4
2424 - name : Install dependencies
25- run : apk add gcc gdb make tar git python3 libc-dev linux-headers pcre-dev pcre2-dev openssl-dev lua5.3-dev grep socat curl musl-dbg lua5.3-dbg
25+ run : apk add gcc gdb make tar git python3 libc-dev linux-headers pcre-dev pcre2-dev openssl-dev lua5.3-dev grep socat curl musl-dbg lua5.3-dbg jose
2626 - name : Install VTest
2727 run : scripts/build-vtest.sh
2828 - name : Build
29- run : make -j$(nproc) TARGET=linux-musl ARCH_FLAGS='-ggdb3' CC=cc V=1 USE_LUA=1 LUA_INC=/usr/include/lua5.3 LUA_LIB=/usr/lib/lua5.3 USE_OPENSSL=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_PROMEX=1
29+ run : make -j$(nproc) TARGET=linux-musl DEBUG="-DDEBUG_POOL_INTEGRITY -DDEBUG_UNIT" ARCH_FLAGS='-ggdb3' CC=cc V=1 USE_LUA=1 LUA_INC=/usr/include/lua5.3 LUA_LIB=/usr/lib/lua5.3 USE_OPENSSL=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_PROMEX=1
3030 - name : Show version
3131 run : ./haproxy -vv
3232 - name : Show linked libraries
3737 - name : Run VTest
3838 id : vtest
3939 run : make reg-tests VTEST_PROGRAM=../vtest/vtest REGTESTS_TYPES=default,bug,devel
40+ - name : Run Unit tests
41+ id : unittests
42+ run : |
43+ make unit-tests
4044 - name : Show coredumps
4145 if : ${{ failure() && steps.vtest.outcome == 'failure' }}
4246 run : |
6064 cat $folder/LOG
6165 echo "::endgroup::"
6266 done
67+ - name : Show Unit-Tests results
68+ if : ${{ failure() && steps.unittests.outcome == 'failure' }}
69+ run : |
70+ for result in ${TMPDIR:-/tmp}/ha-unittests-*/results/res.*; do
71+ printf "::group::"
72+ cat $result
73+ echo "::endgroup::"
74+ done
75+ exit 1
76+
You can’t perform that action at this time.
0 commit comments