BUILD: haload: Increase a buffer size so that gcc will stop complaining #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: FreeBSD | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - next | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| clang: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }} | |
| steps: | |
| - name: "Checkout repository" | |
| uses: actions/checkout@v6 | |
| - name: "Build and test on FreeBSD" | |
| uses: vmactions/freebsd-vm@v1 | |
| with: | |
| release: "14.4" | |
| prepare: | | |
| pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua54 socat pcre2 python3 | |
| run: | | |
| sysctl kern.corefile=/tmp/%N.%P.core | |
| sysctl kern.sugid_coredump=1 | |
| scripts/build-vtest.sh | |
| gmake CC=clang V=1 ERR=1 TARGET=freebsd USE_ZLIB=1 USE_PCRE2=1 USE_PCRE2_JIT=1 USE_OPENSSL=1 USE_LUA=1 LUA_INC=/usr/local/include/lua54 LUA_LIB=/usr/local/lib LUA_LIB_NAME=lua-5.4 | |
| ./haproxy -vv | |
| ldd haproxy | |
| if ! env VTEST_PROGRAM=../vtest/vtest gmake reg-tests REGTESTS_TYPES=default,bug,devel; then | |
| for folder in /tmp/*regtest*/vtc.*; do cat $folder/INFO $folder/LOG; done | |
| ls /tmp/haproxy.*.core 2>/dev/null && gdb -ex 'thread apply all bt full' ./haproxy /tmp/haproxy.*.core | |
| exit 1 | |
| fi |