haproxy.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. name: HaProxy Tests
  2. # START OF COMMON SECTION
  3. on:
  4. push:
  5. branches: [ 'master', 'main', 'release/**' ]
  6. pull_request:
  7. branches: [ '*' ]
  8. concurrency:
  9. group: ${{ github.workflow }}-${{ github.ref }}
  10. cancel-in-progress: true
  11. # END OF COMMON SECTION
  12. jobs:
  13. haproxy_check:
  14. strategy:
  15. fail-fast: false
  16. matrix:
  17. # List of refs to test
  18. ref: [ master ]
  19. name: ${{ matrix.ref }}
  20. runs-on: ubuntu-latest
  21. steps:
  22. - name: Build wolfSSL
  23. uses: wolfSSL/actions-build-autotools-project@v1
  24. with:
  25. path: wolfssl
  26. configure: --enable-quic --enable-haproxy
  27. install: true
  28. - name: Checkout VTest
  29. uses: actions/checkout@v4
  30. with:
  31. repository: vtest/VTest
  32. path: VTest
  33. - name: Build VTest
  34. working-directory: VTest
  35. # Special flags due to: https://github.com/vtest/VTest/issues/12
  36. run: make FLAGS='-O2 -s -Wall'
  37. - name: Checkout HaProxy
  38. uses: actions/checkout@v4
  39. with:
  40. repository: haproxy/haproxy
  41. path: haproxy
  42. ref: ${{ matrix.ref }}
  43. - name: Build HaProxy
  44. working-directory: haproxy
  45. run: >-
  46. make -j TARGET=linux-glibc DEBUG='-DDEBUG_MEMORY_POOLS -DDEBUG_STRICT'
  47. USE_OPENSSL_WOLFSSL=1 USE_QUIC=1 SSL_INC=$GITHUB_WORKSPACE/build-dir/include/
  48. SSL_LIB=$GITHUB_WORKSPACE/build-dir/lib/ ADDLIB=-Wl,-rpath=$GITHUB_WORKSPACE/build-dir/lib
  49. - name: Test HaProxy
  50. working-directory: haproxy
  51. run: make reg-tests reg-tests/ssl VTEST_PROGRAM=$GITHUB_WORKSPACE/VTest/vtest